Hello
Network unlock codes are not free please refer here https://directunlocks.com/en_us/unlock-phone-vodacom unless if the phone was locked by network service provider only because it's a contract phone. However you contact your service provider if you are done with your contract and they should be able to give you the unlocking code freely.