How to teach dogs to protect people and objects instantly