Detach the trim plate screws with a Phillips screwdriver. Remove the screws and turn the thumb turn counterclockwise until it comes loose from the trim. Remove the trim.
Remove the mounting screw inside the lock trim with a Phillips screwdriver. Remove the other side of the trim.
Detach the edge plate screws with a Phillips screwdriver. Pull the bolt assembly out of the edge of the door. Purchase a replacement lock of the same size.
Insert the bolt and edge plate into the hole in the edge of the door. Insert the half of the lock with the keyhole in the outside of the door. Insert and tighten the mounting screw with a Phillips screwdriver.
Insert the thumb turn side of the deadbolt into the other side of the hole. Press until it clicks into place. Insert the trim screws and tighten with a Phillips screwdriver. Screw the thumb turn clockwise into the screw hole.
Unscrew the strike plate screws on the door trim opposite the deadbolt with a Phillips screwdriver. Remove the strike plate and replace it with the new one.