Can you switch AT&T Iphone while on contract to a different carrier?

I'm basically wondering because I'm under contract for the next 22 months for att for my Iphone 5s and I'm wondering if I can switch to Net10 H20 or Simple Mobile or something without paying the contract bill for att

You'd have to pay the cancelation fee which is a couple hundred dollars. Plus you have to unlock your phone, and I'm not sure if an att iphone would work on net10 or simple mobile.

You can terminate the contract with AT&T paying the ETF which will be like $325 - ($10 x 2-months of completed service) = $305. If you didn't pay this and switch to different carrier, your iPhone 5S will be blacklisted and you won't be able to use it without unblocking it which is difficult.