Logs for lock obtaining added.