Having a finger or thumb lock up in a straight or bent position is a common problem. A locked finger or thumb is the telltale sign of trigger finger, also known as stenosing tenosynovitis. This occurs when the sheath of tissue that wraps around a tendon (the tissue that connects muscle to bone) becomes inflamed.
Source: Verywell Health