If a buy the iPhone 5 can I get it unlocked?

It sucks now cause I'm left with no other option but to buy a iPhone 5 being that apple cut iPhone 4 people off completely. We're like the iphone 3 now. Can't update to ios7 or nothing. So my question is can the iPhone 5 be unlocked and for which company because my iphone 4 is unlocked and I want to make sure I can get it unlocked before buying.

You can get IOS7 on the iphone 4, it's just going to be missing some features.

If you want the iphone 5 unlocked you would have to buy it factory unlocked and that will cost you at least $650. Doing it through a carrier you have to get a contract.