Increased local muscle tone or spasm due to involuntary muscle contraction. Often a protective response to injury or pain.