It will be necessary to drill deep enough to allow full extension of the slide bolt in order to secure the lock.
How to install a door slide bolt.
How much strength do you need the bolt to have.
The closer it is to the center of the door the more.
Then screw the bolt onto the plywood.
Cut a piece of plywood larger than the size of the bolt.
Extend the bolt out slightly and push the bolt keep over it.
With the door bolt now fixed firmly to the door the final job is to fix the bolt keep onto the door frame.
Close the door up until the keep touches the door frame.
Install and secure all 3 screws.
Install the barrel bolt at a height that is easily reachable.
Glue this to the door where you want the bolt lining up the front edge of the plywood with the edge of the door.
An outside sliding is a door in which the moving door is on the outside of the house whereas an inside sliding places the moving door on the inside of the house and the fixed one on the outside.
To install your security slide bolt lock you must first determine whether your door is inside sliding or outside sliding.
Level up the door bolt and then mark drill and screw the top screw hole nearest the door.
If you need a stronger latch it will require a lot more work.