A fitting has a first fitting part, a second fitting part which is rotatable about an axis relative to the first fitting part, a drivable eccentric mounted rotatably about the axis, locking elements moved radially outward by the eccentric to interact with the second fitting part to lock the fitting, a disc cam which pulls the locking elements radially inwards to unlock the fitting, and a free-pivoting control element which, in a certain free-pivoting angular range corresponding to a relative angular range of the fitting parts, prevents the fitting from locking. The free-pivoting control element has at least one first stop track, and at least one second stop track which is offset axially and/or radially with respect to the first stop track. The locking elements comprise first locking elements which interact with the first stop track, and second locking elements which interact with the second stop track.