Fixed race between lock lease extend and lock lease expiry.

No. There's nothing thread safe in `LockResource`.