Renamed lock variable

@sbfaulkner This should fix the naming conflict between the user lock and the deploy lock