Unlocking iPhone for use outside the US

Hello

A friend of mine is coming from the US soon so I want to ask them to buy me a locked iphone so I can unlock it and use it here (In Egypt), since we don't have locked iphones here and unlocked ones are like 6 times the price of the US locked iphone. I heard that my friend can get into trouble because of the contract he'll make with the provider company, since he is a US resident and he will be returning (I don't really know much about the content of the contract) but I heard that it's possible that he maybe fined for unlocking the phone. Please tell me if this is true or not and if true, is there any solution?

Thanks
Right now there are lots of unlocked iPhones available. You might want to check eBay, or even the Marketplace here on iMore.

Original thread: https://forums.imore.com/threads/unlocking-iphone-for-use-outside-the-us.258786/