Gimbal lock is the loss of one degree of freedom in a multi-dimensional mechanism at certain alignments of the axes. In a three-dimensional three-gimbal mechanism, gimbal lock occurs when the axes of two of the gimbals are driven into a parallel configuration, "locking" the system into rotation in a degenerate two-dimensional space.
Industrial robot operating in a foundry.
A gimbal is a pivoted support that permits rotation of an object about an axis. A set of three gimbals, one mounted on the other with orthogonal pivot axes, may be used to allow an object mounted on the innermost gimbal to remain independent of the rotation of its support. For example, on a ship, the gyroscopes, shipboard compasses, stoves, and even drink holders typically use gimbals to keep them upright with respect to the horizon despite the ship's pitching and rolling.
Cardan suspension in Villard de Honnecourt's sketchbook (ca. 1230)
Early modern dry compass suspended by gimbals (1570)
A Baker-Nunn satellite-tracking camera on an altitude-altitude-azimuth mount
NEWTON S2 gimbal for remote control and 3-axis stabilization of a RED camera, Teradek lens motors and Angénieux lens