Add logging for 'no lock available'.