Spasm
A muscle spasm is an involuntary, sudden contraction of a muscle or group of muscles, acting as a protective response to an injury. Spasms are especially common in the spine and frequently signal an unresolved deeper problem.

Symptoms
Sudden, sharp muscle contraction — often triggered by a specific movement or position
Spasm and pain worst on waking — easing gradually with movement throughout the day
Heavy or restricted movement in the back, neck, legs, feet, hands, or fingers
Pain worsening with prolonged rest, sitting, standing, or walking
Palpable hardness or knot in the muscle that is tender to touch
Pain that comes and goes — triggered by posture changes or sudden movements
Muscle fatigue and weakness following a prolonged spasm episode
Difficulty bending, twisting, or straightening — movement causes sharp, catching pain