There is a simple word in my native tongue for this symptom but it is somehow hard to find a corresponding term in English despite how common this type of pain occurs in our daily life.
Not every concept has a corresponding word but it turns out that this one does.
is an informal term meaning a persistent joint/muscle pain in the neck or upper back usually due to holding an uncomfortable posture for too long.
I have a crick in my neck from falling asleep in the airplane seat.
You can have either a stiff shoulder, a stiff neck or a stiffness that is felt simultaneously in both parts of the body.
2) a. Not moving or operating easily or freely; resistant: a stiff hinge.
b. Lacking ease or comfort of movement; not limber: a stiff neck.