Okay here's how it goes...
My sister was playing minecraft on a user named "Erasers" (made by me), and the doors open and shut when she's looking away and when she looks back they're open/closed. And when she went to sleep the door opened and shut and something woke her up from bed and started beating her up.
So, what do you make of this? Oh, and by the way the difficulty was Peaceful.