I recently broke my phone and so my friend gave me her old one (sony xperia XA F3111) till I get mine fixed but when I put my sim in its saying it's locked by the operator and I need to enter a code, is it my sim that's locked or the phone and how do I fix it?
