That's my experience with the first Hitman games as well (I haven't played the recent ones). I'd enter a room, try to pick up a weapon on a table, take a nearby hammer instead, hear someone coming, get in the closet, close the left door, open the right door, close the right door but open the...