Added locking for CfgVarValues