In most cases it is possible to just replace the cylinder lock for the Nightlatch making it cheaper to replace when a lock becomes faulty over time. Most Cylinders to suit a Nightlatch are standard sizes and will be compatible regardless of the case size. If in doubt, we could recommend a replacement by seeing a photo if you have the facility to send one.
Jonathan P