That was my understanding of both sleep walking and sleep paralysis. The parts of your brain that activate during REM dreaming would cause you hurt yourself if GABA and glycine didn't shut off your muscles, thus putting your body into the bio-equivalent of park.