Minor: added log when trying to unlock a non-locked index