Issue found during Lcb 3.0.6 migration in couchbase client at Amadeus IT. On the previous Lcb 2.x, it was possible to set duration lock time on getandlock method. In this case, the server default lock time should be taken into account.
Build couchbase-server-7.0.0-4433 contains libcouchbase commit 7101351 with commit message:
CCBC-1333 authorize lock without any duration