Use a SIM PIN for your iPhone or iPad - Apple Support (CA)

Lock your SIM card with a PIN (personal identification number) to require an identification code for phone calls and cellular-data usage.