When traveling in Asia, do you ever noticed when bellman taking you to the room? Most would do a few quick knocks before unlocking the door.
I've had that all over the world. It's just to make sure there isn't any mix up, and that the room isn't occupied by another (living) guest.