It doesn't matter which hotel you stay at, no one should be able to get into any room without a key.
It's a fundamental function that a hotel room should have, and I (hopefully hotels) will definitely define the room as 'unsellable' if the door lock doesn't work.