If possible, choose accommodation that has unmarked 'swipe cards' rather than numbered keys for each room. If you lose your swipe card or if it is stolen, the thief won't know which room to rob.
Always lock your hotel door when retiring for the night. If there is a chain included, use it.