While you might need to completely replace your lock it s possible you just need to replace the latch.
Sliding patio door lock broken.
This video will show you how to replace the lock snib which is the mechanism used to engage the lock.
Because sliding patio doors are used a lot it s common for their locks to occasionally jam or break.
The mechanics of the lock have broken leaving the top section of the door completely.
Usually its the e2105 lock that breaks so you might not need to buy the whole sliding glass door locks assembly just the lock.
Replacement lock if needed.
If the snib is damaged or broken it should be replaced.
The fix clips that hold the panels in place often get broken or get lost.
Download instructions for more information.
In this video i attempt to open a patio door that has got stuck locked.
You also might want to add or replace a keylock on the outside so you can open your patio door with a door key.