fix a lock indentation in main

Zero code changes and just an indentation fix for a lock.