Definitely sleep paralysis if you were awake and couldn't move. Dark matters is correct on this.

SP is the reason a lot of people stay away from LDing. Now you know what it is "actually" like.