You can easily find a sliding glass door lock at your local hardware store or home center and if you remove the broken door lock and handle and take it to the store with you it will be easier to find a match.
How to repair glass door lock.
While you might need to completely replace your lock it s possible you just need to replace the latch.
Prime line s selection of replacement mortise locks for sliding glass doors.
Sliding glass door locks.
Sliding glass door locks such as the steel mortise style locks shown on this page are used in wood vinyl and aluminum patio doors.
Most sliding glass door manufacturers etch their name or the model number into the door s corner edge.
Fixing a sliding glass door lock is a very quick repair.
If lubricating the latch doesn t fix the problem it s time to replace it.
Step 1 determining the model.
Find this information and write it down.
Try applying lubricant such as a petroleum based oil or wd 40 in the area to see if that works.
These types also experience the same symptoms as the standard glass door locks.
Step 2 remove the latch body.