Stock firmware does not do for unlocking a locked Samsung Galaxy S5 ? from a certain network providers.
Unlocking refers to the bootloader. Its a necessary step if you want to flash the firmware of your device. Refer to the XDA forums and search for your device. There are a lot of How-To's that might help you.