Very common dream and a common experience. This actually does happen. During REM sleep, the body often is in a state of paralysis which can be quite frightening.
Paralysis is a very interesting topic in various cultures. Around the world some interpretation includes topics such as "held down by a ghost", "fastened in metal", "witches or fairies holding you down", "trees feeding on humans", and other creatures holding a body.