i do lucid dreaming and this happens all the time
its just that your sleep cycles get fucked up,cuz u know when u sleep,theres sleep cycles in the brain,so u wake up in between when they're switching. thats when u feel paralysed when u cant move or anything,but u know ur awake.
its no big deal,its nothing to worry about.usually when this happens,no one remembers it,its rare that you remember it. i guess it was just luck u remembered it.