unlocking iphone 5s on a different carrier
afaik if the phone is network locked you'd need to be on the original carrier network to unlock it (then connect on itunes to complete etc) and whatever code is required (if any) must be applied with the original SIM.