She did not shut it properly b...
She did not shut it properly because she knew that it is very silly to shut oneself into a wardrobe, even if it is not a magic one.