How much discrimination does the average schutzhund german shepherd have with people coming and going?

For example if I went to the hospital for x amount of weeks and came back to my house and german shepherd, could I be in danger? ( I think so If the shepherd was left in my house and perhaps not if he was left at a kennal ) Also how long would it be before a guest in my house could come and go to the house as they please?