Hermione so desperately wanted to be alone - just her and her thoughts. She needed the space to process what exactly had transpired, but her room was no longer a safe place. Maybe if she could just sneak into the piano room, she could find some safe haven there.