Stand close to the door. Right click to make the cursor change into a key. Left click the door.