Interesting occurrence of 'hypnopompic hallucination' you got there. That's the vivid and frightening phenomenon where, upon waking, one is unable to move. Also, as the brain awakens from REM sleep (where most dreams occur), some people may feel a 'presence' in the room or perceive threatening figures, such as zombies …