unlocking iphone 5s from network
As far as I'm aware only the phone company the handset it currently registered to can do this. It's a fairly straight forward process [in the UK anyway!].

I think there is possibly a method if you jail break the handset but this obviously carries other risks too.

Beware black market unlocking services, there are lots of scams out there!!