Logic states that if somebody on the outside closed the door by mistake (without checking if somebody was inside) ... then the poor young woman can still open the door from the inside. Either: a) For some reason she was incapacitated while inside - fainted, etc and somebody closed the open door by mistake. b) She committed suicide. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.