I slept in my mom’s bed on and off until I was like 11-12. But then again, I had really severe anxiety and constant nightmares as a child. I mainly slept there when I was having a really bad day and didn’t feel that I could be alone. She never locked me in a room and I slept alone fine after that, even on bad days.