there's a bug for some reason where at 1am when the electricity is cut, you can't turn your flashlight on or open your inventory or click anything. you're stuck in the dark until a face appears and then you lose. opened the padlock and barricaded 2 windows before the lights cut off and that happened
I think that may just be because you lost? Like the alternate already got in and you can't do anything, which leads to suspense for the jumpscare. When playing the first thing you have to do is find a flashlight (usually hidden in cupboards or your closet) then board all windows. Then, your power will not cut off and you won't have this bug! :)