Logs number of locks created and locked during the tests.