She may have forgotten to bolt the door into the passage when she went to bed, and have got up later, towards morning, and bolted it then."
She might have forgotten to lock the door.
She would never forget to lock the door.