Poirot locked the door on the inside, and proceeded to a minute inspection of the room. 
Poirot inspected the room after he came inside and locked the door.
Poirot unlocked the door after declining to inspect the room.