Only allow locking when connecting and have ZK session