If you have an annoying dog -- lock it up when I come over
My friend has a maltese that is just a PEST. When I go over there she barks at the door like I am an ax murderer. Then when she lets you in the dog jumps on your legs (feels really great when wearing shorts). After that when you try to sit on the couch she will annoy you as well. And God forbid you try to eat something. My kids spend the whole time crying because the dog won't leave them alone if they are carrying a snack. The dog also growls (funny how my friend considers this "talking" -- if a German Shephard did it people would freak out!).
I don't know why she doesn't just lock her up in a room when visitors are over. She spends the whole time saying "get down" and threatening her with a squirt bottle but she never actually sprays it. This dog is 8 years old, not a puppy.
If you have a dog and a guest asked you lock it a room (for only a short time of course) -- would you?