Your Android smartphone comes with a handful of built-in safeguards, including a PIN, pattern, or password for the lock screen. For additional safety, Android has long supported SIM PIN lock. When enabled, it prompts the user for the PIN each time the phone is rebooted or when the SIM is switched to another device.
https://www.androidpolice.com/android-17-automatic-sim-lock-protection-canary-2603/?rand=7