I'm trying to lock a row in a database, with a guid that identifies the holder of the lock, and an expiry date that specifies how long the lock is valid for (in case the process crashes, and fails to release the lock). Here's what I managed to come up with so far:I'm trying to lock a row in a database, with a