Replacement phone question

Hi all, I had my iphone 5 replaced in sept 2013 and in a week a so I'm due an upgrade,

When I took the contract out I was with EE in the uk had my phone replaced by Apple in an Apple Store due to a faulty lock button, what I would like to know, is the replacement phone locked to a carrier or is it unlocked?

Thanks

Nick
It's the same model as you had before.
The phone is a different phone they couldn't fix the original one. But as it was a new one from Apple is it unlocked?
Was the one it replaced locked or unlocked?
If the phone that was replaced was factory unlocked, it will be replaced with an unlocked phone. If it was unlocked after the fact via your wireless provider or a third party unlocking service, you will get a locked phone as a replacement.

Original thread: https://forums.imore.com/threads/replacement-phone-question.304270/