An armlock in grappling is a single or double joint lock that hyperextends, hyperflexes or hyperrotates the elbow joint or shoulder joint. An armlock that hyperflexes or hyperrotates the shoulder joint is referred to as a shoulder lock, and an armlock that hyperextends the elbow joint is called an armbar. Depending on the joint flexibility of a person, armlocks that hyperrotate the shoulder joint can also hyperrotate the elbow joint, and vice versa.