Finding original cellular carrier
My daughter's iPhone xr says it is sim locked and it is one that her friend gave her about a year ago and she no longer goes to school with her friend nor talks to her so we don't know what carrier was originally to get phone unlocked. My question is how do I find out original cell carrier?