The first test is simple: we work the deadbolt with the door standing open. If it extends and retracts freely in open air but binds when the door is shut, the lock is fine and the bolt is hitting the strike plate or the edge of the pocket. If it is stiff even with the door open, the trouble is inside the lock body.
Inside faults have a short list of causes. The tailpiece that links the cylinder to the bolt can bend or snap, so the key turns and nothing moves. Mounting screws work loose and let the two halves twist out of line. Old oil collects dust and turns to paste around the pins. Each one has a different fix, and most do not need a new lock.
St. Louis weather causes a large share of these calls. Wood doors swell in the humid months and shrink back when the furnace runs all winter, and older brick houses settle over the decades. A bolt that lined up in April can scrape the strike by July. Moving or enlarging the strike, or correcting a sagging hinge, often cures it.