Lock settings.