Have you ever woken up in the middle of the night unable to move? A doctor has explained how and why this “scary” sensation can happen.