Position the gate lock against the gate door and the gate frame. Test the location of the lock by opening and closing the door to make sure that the lock works well in that position. Mark the positions of the lock attachment screws against the gate door and the frame. Remove the gate lock from the gate.
Drill holes in each marked position, making sure that the drill bit does not go all the way through the door. Reposition the gate lock back against the gate and the frame.
Drill through the gate lock and into the predrilled holes with 1-inch wood screws, tightening each screw only partway into the hole. Tighten all the screws halfway. Once all the screws are partially installed, tighten them completely to finish the installation of the lock.