The fastest and easiest way to figure out which carrier your iPhone is locked to is to put the SIM card it came with back in the phone. Then go to Settings, then to Carrier. After that you'll have to contact the carrier to get an unlock code, which may have a cost, I usually see about $100.