The lock mechanism in our sliding glass door broke. It unfortunately fell apart when I took it out, so I don't have images of the mechanism itself. I believe it was a mortise style lock. A little hook came out and gripped a strike plate.
I do have images of the door handle and the door area that the lock set in. The door handle had a square peg that fit into a square hole on the mechanism itself.
Hopefully this is enough! I've tried everything else to fix our door.
Joshua