public void Lock(PlayerChangeType type) { if (valueLocks.ContainsKey(type)) valueLocks[type] = true; }