What jeni says, suggests to me that it was the parents who needed sleep "therapy", not the little girl. Maybe they weren't getting any sleep because of the little girl's problems. If they have two other children, they would need their sleep.
It would help if the OP would come back and explain further. I find it hard to believe parents would lock a child in a bedroom for trivial reasons.
Royal Dress Code in Hot Weather
Good Morning Monday 13th July 2026


...but could be something else
...that the child themselves may not be overtly aware of?