It might be connected to sleep paralysis as you where not able to move, as well falling in the dream. Maybe you can research "Hypnagogia" which is the experience of the transitional state between wakefulness and sleep in humans: the hypnagogic state of consciousness, during the onset of sleep.