What you describe is not uncommon. That is in the computer and what gets punched up for room keys are different mechanisms. This incident is why one should always us the door stopper thingy when in the room, especially when sleeping. At least you were not the one asleep as it would have caused a huge stir as a single female.
If the hotel is changing their and downgrading it I would pursue as that is an insult.
PS Welcome to FT.