Teach Your Dog to Guard Objects and People