a gate is for locking