more lock logging

Logging 'released lock' message only when lock was acquired. Not when it fails to get intermittently. Also logging different claim ids when not able to acquire lock. This should help in debugging `BusyLockError` errors.