(PECL swoole >= 1.9.0)
Swoole\Lock::lock — Try to acquire the lock. It will block if the lock is not available.
此函数没有参数。