In a pin tumbler cylinder, each chamber holds a bottom pin and a top pin, and the key lifts them to a single shear line. Master keying adds a master wafer to some chambers, which creates a second shear line. That lets two different keys turn the same cylinder: the change key cut for that door alone, and a master key cut to open the whole group.
The plan behind the pinning is the key hierarchy. Change keys sit at the bottom and open one door or one suite. A master key opens every lock under it. Larger properties add a grand master above several masters, for example one per floor or per building. We work out the levels with you first, because a hierarchy is hard to rearrange once the cylinders are pinned.
Good systems are calculated, not improvised. We build a bitting list so that no change key accidentally operates a neighboring door, and we leave unused combinations so the system can grow. Older St. Louis buildings have often been master keyed in pieces over decades, with no records left. In those cases we can decode what exists or start fresh on a clean plan.