util.py: Close settings after setting screen lock to none