Yes.  They lock in both the shut and open position. A heavy duty catch springs into a pre-cut notch in the lower metal rail.