Need an information on upgrade
It will not "relock" even if you use the carrier's specific update procedure and firmware. The status of your carrier lock is not stored in an area of the phone that is modified by flashing a ROM. It is similar to your serial number, MAC address, or IMEI number and is (sort of) protected from change.

You can safely upgrade, or consider a custom ROM without worry about losing your carrier unlock.