Will my iPhone factory reset if I put a different company SIM card in it to see if it works

I got a sprint iPhone 5c and used it on the boost mobile network. Now I got a new phone because I hated the boost network and switched over to metro pcs. A couple days ago I put the metro pcs sim card in the iPhone and it went to the opening screen like it reset everything. So I took it out and just put the boost sim card back in it and it went back to normal. If I put the metro pcs sim card in the iPhone will it reset everything because I don't want to lose everything on my iPhone.

No…

Swapping SIMs does not reset a phone.

No.

How to get my password for apple