Teaching Dogs How to Guard People and Objects