Fix syntax on lock variable.