Replacing a sliding door lock is pretty simple. After you unscrew the handle/lock from the door, note the measurements of the lock to make sure you purchase a new, compatible lock. From there, simply screw on the new lock with mounting screws.