If you buy your iPhone from a carrier, or elsewhere on a subsidised contract, then it may be ‘locked’ to that carrier – meaning it won’t work if you try to switch to a physical or e-SIM from another ...