Removing lock & unlock for uncommented code

Thanks to Axel Kemper for spotting this one