@Rachel585
I don't let guests anywhere near my dogs when I'm not home. What if a guest gave them chocolate, or hurt them intentionally? What is a guest claimed one of my dogs bit them? They never would bite, but you're leaving yourself vulnerable to someone looking for a quick pay day lawsuit. One of my pure bred dogs isn't fixed yet (she's a puppy). She's worth around $3,000. My dogs are in a locked room when I'm not home, period.
As for whining at the door;
Spend an afternoon or two sitting by the door with her and giving her a treat every time she ignores whatever's going on in there.
Attach a citronella sprayer to the door. It's activated by the dog's bark and they HATE it. To people it smells like lemons.
If you do have to resort to a shock collar, it's usually temporary. We had a shelter dog that barked constantly. We used the shock collar for a day and had to change his name to "Silent Bob". Get the kind that's activated by the dog's bark, not the kind you press a button as the timing is essential.
Paige