Teaching dogs how to guards people or objects