Publish the result of the lock request to the callback.
Code clean up.