The gate consists of several sectors.
Raise the lowest sector (in violet) to open the gate. The pin (in pink) fixed to the lower sector moves the upper adjacent sector to open position. The measure to keep all sectors at the open position is not shown. It may be a hook for example.
The gate is closed thanks the gravity. The chains (represented by black lines) that pivot on two adjacent pink pins hold the sectors at the close position.