The best thing to do IMO is simply not to use the safe. You are far more likely to leave something in there by mistake than have it stolen from your room.
Now admittedly I don't travel with anything high value like jewellery that may warrant extra protection, but as far as passport and wallet are concerned, I am comfortable leaving them in my bag rather than the risk/faff of locking them in the safe.