1. Find "Set up SIM card lock"
Press Security & privacy.
Press More settings.
Press Encryption and credentials.
Press Set up SIM card lock.
2. Activate or deactivate use of PIN
Press Lock SIM card to activate or deactivate the function.
Key in your PIN and press OK.
3. Return to the Home screen
Press the home icon to end the session and return to the Home screen.