My sister used to sleepwalk when she was a teenager. My parents caught her trying to walk out the front door of our apartment once in the middle of the night. She apparently was going to the car to go with my dad to pick me up from work. The next day they put a bell on our front door so that if she tried to leave in the middle of the night again, the bell would ring and they would hear it and stop her.