A repair instead of a replacement
A stiff lock is not always a dead one. Dirt, dust and grit, plus months without use in a house that stays shut, make a cylinder drag; cleaning and the right dry lubricant bring many back. Household oil does the opposite over time, because it holds on to the dirt.
If yours is a house you only open a few times a year, the page on locks in homes that stand empty is written for you.