I've been given keys to other people's rooms when checking in to hotels a few times, and inevitably there's a half naked person in there.
Whenever I'm in a hotel room I use every available lock on the door at all times to prevent exactly this scenario.