A locked phone is restricted by software to work only with the specific carrier that sold it, typically through a SIM lock or network lock. This prevents the phone from accepting SIM cards from other providers, ensuring the carrier recovers their subsidy on the device.