(PECL swoole >= 1.9.0)
Swoole\Lock::lock — Try to acquire the lock. It will block if the lock is not available.
This function has no parameters.