Alternatively would be a maglock with fail secure latches.
Zigbee sliding glass door lock.
Most sliding doors have strange locks on them like a lever or small twist knob.
If you already own a zigbee enabled hub like smartthings the command lock could be an option.
Kwikset smartcode 910 deadbolt door lock zigbee kwikset smartcode 912 lever door lock z wave kwikset smartcode 912 lever door lock zigbee kwikset smartcode 914 deadbolt door lock z wave kwikset smartcode 914 deadbolt door lock zigbee.
The schlage connect smart deadbolt incorporates advanced access control into your zigbee certified home automation system including amazon key.
The system is sold for 195.
This is designed for acorn and better bilt doors but can be found on a variety of other door manufacturers.
I can imagine the install being ugly.
View more schlage connect.
Get it as soon as sat sep 19.
The devices uses an electronic drop lock in combination with a smart plug for smart home connectivity and control.
Sliding glass door handle set 6 5 8 in diecast and wood hook style flush mount keyed this is a reversible diecast black flush this is a reversible diecast black flush mount patio door handle with wood pulls.
Sliding glass door lock display case lock showcase lock ratchet lock with chrome finish security glass case lock keyed alike toddler proof ultra thick glass display case lock 2 pack.
You might also be able to mount one of these to the top locking a pin into the door.
4 5 out of 5 stars 284.
I suppose with an arduino and a solenoid you could mechanize it.