hajk129 Said:
"Iphone 13 sim lock: Hii so i got my iphone 13 it was a gift from my friend and my iphone is locked(sim lock) i hope you can help me to unlock my phone i would be so happy bdw i don't know witch carrier is locked"
-------
Unlocking a SIM Card:
Go through the carrier, as they are the one who configure the SIM card. You friend may need to be the one who does this. As for transferring it over, has your friend perform as instructed here, including the backup and the iCloud logout: What to do before you sell, give away, or trade in your iPhone or iPad - Apple Support