Remove the old gate, latch and hinges. Measure opening between posts (here, 810mm) and subtract 20mm for 10mm clearance ...
For the most secure lock, try a bolt gate latch or you can add a deadbolt or side bolt to a gravity gate latch. With the ...