Network unlocking is safe and easy task that can be performed without any technical skills there are 2 methods which you can use to get your phone unlocked.
Best of luck with unlocking your device
Contact your carrier:
The best and simplest way to unlock your Samsung Galaxy S8 or S9 is to contact the carrier that it is locked to and request an unlock code. Each carrier has its own policy regarding unlocking devices, so you will need to check their website or contact their customer service department for more information.
Use an online unlocking service:
Another option is to use an online unlocking service. There are many reputable companies that offer unlocking services for a fee. Make sure to do your research and read reviews before selecting a service to make sure you get the best possible result.
Use a third party unlocking software:
Finally, you can use a third-party unlocking software to unlock your Samsung Galaxy S8 or S9. These services are usually paid, and you should make sure to read reviews and do your research before selecting one.