Cleanup locks after releasing

[#81906846]
Add specific error about lock row not existing

[#81906846]
Loop if lock was not present on blocking calls

[#81906846]
Loop even on non-blocking lock requests

[#81906846]
Merge pull request #4 from luan/feature-cleanup-locks-81906846

Cleanup locks after releasing