You can use a SIM card PIN to prevent unauthorized use of your SIM card in another device. For example, if you lost your SIM card and someone tries to use it in another device, the SIM card can't be used unless the PIN is entered correctly.
You can request the PIN for your SIM card from your service provider.
Settings > Security and Privacy > SIM
Card.
Settings > Security and Privacy > SIM
Card.