This is where crate training can be wonderful. A dog that has been well crate trained will be happy to spend the day in the crate (even with the door open and unlocked). Dogs learn to see the crate...