If the contract period is over, the phone may be unlocked by entering a code from the carrier. Apple's iPhone brought the SIM lock into public view because of its original exclusivity in the U.S ...
Although there are several types of "locks" that can apply to a phone, the most talked-about type is a carrier lock, also known as a SIM lock or ... entering a special code or numeric password.