It is waiting for the moment to evolve. At this stage, it can only harden, so it remains motionless to avoid attack.
Its shell is as hard as an iron slab. A METAPOD does not move very much because it is preparing its soft innards for evolution inside the shell.