Property managers and maintenance staff who work in large apartment buildings do not want to have to carry around a separate key for each and every unit. Locks can be keyed in a way that allows them all to be opened with a single master key, which makes things easier for people who need to be able to gain access to each apartment to make repairs.
