N.A.
Hi N.,
Have you tried blocking the underside of her bed in such a way that she cannot get under there?
It is not uncommon for a child to get up in the middle of the night without realizing it. Lots of people sleepwalk.
You might want to also think about moving her bed out of your room. It will give her a lot more independence to have her own space, and it will make her more confident as she gets older. Besides, there are other, more obvious reasons, why a child that age really shouldn't be in the same bedroom with the parents. You never know when little eyes might be watching you.
I would try blocking the underside of her bed and see if that helps. You will have to keep an eye out though, she may end up going somewhere else within the house. Since she apparently sleepwalks (even just a little right now), make sure that your doors and windows are not able to be opened by a child her age. There have been a lot of little kids who have been able to get outside while their parents have been sleeping, so take precautions, even if you don't think she can unlock the door, she probably can, unless you have a high chain or deadbolt installed.
Good luck!