Doors in Left 4 Dead are not something you manipulate with a key. The original question assumes an inventory and a key item, and the game has neither.
Ordinary doors open when you walk into them, and they swing shut behind you. The doors that matter are the saferoom doors, which are opened by reaching the room and interacting with the door once the area is clear. If a door will not budge, the cause is almost always infected on the other side or a scripted hold, not a missing key.