Automatically, Hermione's feet began to move backwards towards the door. When he took one step towards her, she turned and sprinted to her room as quickly as she could, slamming and locking the door behind her. She knew if he truly wanted to get in, he could, but considering she didn't have a wand, it was the best she could do. It gave her peace of mind at the least.