When the gate is closed the pin will engage and lifts the cam in the latch which then falls in front of the pin securing the gate. The tab of the latch has to be pressed forward to allow the gate to be released. This can also be locked with a padlock for extra security.