If i buy an iPhone from metro pcs will it be unlocked automatically?

I want to buy an iPhone SE and metro has the best price that I've been able to find. If I buy te phone from there, does it come unlocked and can I activate it on another service provider. I want to activate it on T-mobile prepaid as they have a deal I like more. Or does the phone come activated with metro pcs and I will need to pay months under metro to be able to unlock it.

They are usually locked to 1 carrier, all new phones usually are, it's the only way to get them slightly cheaper because the carrier takes some of the cost of the phone if you buy one.

if you buy a sim free or carrier free phone, it will be much more expensive but will be unlocked.

Pay for the phone full price up front and you can get the phone unlocked from ANY carrier, to then use that phone on any compatible carrier as soon as you like.