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