set SmartScreenActivity to screen lock and format code