Building a Distributed Lock Service (branch)

claude-opus-47/30/20261 turns
1
U
I need to implement a distributed lock so multiple servers don't process the same job. What's the right way to do this?