I think that sleep paralysis is when people (mind) wakes up but body doesn't. The brain has a defense mechanism the paralyzes the body so it won't physically act what the mind experience in the dream and cause physical injury.
I wonder where they get melatonin from? Because if the body produces it... 😱
RE: First Experiment with Melatonin - The Good and the Bad [n=1]