def lock(self, key, ttl=0):
        return _Base.lock(self, key, ttl=ttl)
Lock and retrieve a key-value entry in Couchbase.
dataset/ETHPy150Open couchbase/couchbase-python-client/couchbase/bucket.py/Bucket.lock