No, it is a sign of respect. The human is asking permission to enter my dominion.\ Source : I am an animal (in bed), according to my girlfriend.... Specifically a pig, according to my wife.
Funny aside, I think it's more about preventing escape
Or to keep people from being hit by the door.
Or to let them get their finger out of their nose