lock prefs based on team