 This arrangement later became the basis for combination locks.Locks are usually re keyed to build master-key systems, make a set of locks share a common key, or to eliminate compromised keys.Sometimes worn pins are replaced with new pins if the old pins become too short to reach the shear-line.