Lock create write lock.
@MPI(name: "mesh.locker.w.lock") Future<bool?> lock(String rid, Duration timeout, {Context? ctx}) { throw UnimplementedError('lock() has not been implemented.'); }