A dog crying and making noise while a door creeks open.
A dog whimpers until a door is opened and closed.
A whimpering dog scratches nervously against a door
a dog is whimpering before some sort of door is opened and closed
a dog is whining followed by a loud creaking door.