On iPhone:
To set a PIN code on your eSIM profile on iPhone, go to:
– Settings
– Mobile data
– Select the eSIM profile for which you want to activate a PIN code
– Make sure that this eSIM profile is activated: select it and turn on “Turn On This Line”
– On that same screen at the bottom, select PIN
– Turn on “SIM PIN” button
– Enter the PIN of your choice to lock the eSIM profile
– Click on Done