That would be frustrating. I like the other posters advice about maybe putting some healthy snacks in her room at night. I would not and do not recommend locking her door so she can't get out. Very unsafe. What if something was wrong with her and she needed to con get you or worse what if there was a fire and she couldn't get out and you and your husband weren't able to get her?
Hugs momma! Hoping it passes soon.