For network unlock, Google <your carrier> unlock. (Without the brackets.)
To unlock the phone, put in your password or PIN or use your fingerprint. There's no way around a locked phone. (The "protection" wouldn't be much protection if a thief could just get on the internet and ask, "how can I get into this phone I stole", would it?)