Most residential lock faults come down to a handful of parts. The latch stops springing back because its return spring is tired or the bolt is gummed up. A knob or lever turns without retracting the latch because the spindle or retractor is worn. A handle hangs loose because a set screw or through bolt has backed out. We open the lock up, find the failed part and repair or replace it.
Key trouble is its own category. A key that goes in but will not turn may be meeting worn pins, a bent key or debris in the keyway. A key that snapped off leaves a fragment that has to be drawn out with an extractor without pushing it deeper. Afterward we check why it broke, because a stiff cylinder will break the next key too.
Older St. Louis houses add one more kind of work. Original mortise locks, the tall cases set into the door edge behind a brass or glass knob, have springs, levers and hubs that can be cleaned, re-sprung and put back into service. Many owners would rather keep that hardware than cut the door for something modern, and in most cases that is possible.