Gate Locking Mechanism