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.
Try applying lubricant such as a petroleum based oil or wd 40 in the area to see if that works.
Check out this simple diy to learn how.
Sliding glass door locks such as the steel mortise style locks shown on this page are used in wood vinyl and aluminum patio doors.
Prime line s selection of replacement mortise locks for sliding glass doors.
They are often used in higher end doors because steel mortise locks are more secure than the cast aluminum alloy versions used in many patio doors.
Find this information and write it down.
While you might need to completely replace your lock it s possible you just need to replace the latch.
Sliding glass door locks.
Fixing a sliding glass door lock is a very quick repair.
Most sliding glass door manufacturers etch their name or the model number into the door s corner edge.
This simple diy trick may solve your issues.
If lubricating the latch doesn t fix the problem it s time to replace it.