An unlocked phone works by inserting a SIM from a cellular network provider inside. One can move from one cellular network to the other by changing SIM cards inside the mobile phone. The SIM cards allow the phone to connect to a specific network.