To change a lock, remove the old lock cylinder and handle, install a new cylinder, and reassemble the handle. Ensure the new lock fits properly and test it to confirm it works.