Teaching dogs to guard people and object