How to Teach Dogs to Guard Objects and People