A "network locked" message comes from the phone, not from your SIM. Some phones are locked to the network they were first sold on, and they refuse any other SIM.
If you want to use the SIM in your phone, the phone needs to be unlocked first. Only the original network or the phone manufacturer can do this, so please contact them. We can't unlock a phone from our side.
If you want to use the SIM in a router or another device, you don't need the phone at all. Put the SIM straight into the router, then:
Set the APN to internet (all lowercase). Leave the username and password blank.
Turn on Data Roaming, if your router has that option.
Restart the router and wait a few minutes for it to connect.
