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.
Obtaining an armlock requires effective use of full-body leverage in order to initiate and secure a lock on the targeted arm, while preventing the opponent from escaping the lock.