Lock - Latch - you can see that it inserts into the metal cup and the lever latches onto the cup.
 
You can see that the bottom part of the gate inserts into the metal cup for a sturdy secure gate.
 
Evenflo Secure Solutions Top of Stairs Wooden Swing Gate