Default [Q]SIM lock and bootloader

If I understand correctly, The TA partition stores the SIM lock flags. If this is the case, Say I backup my TA whilst my phone is sim locked(call this backup A). While the bootloader is still locked, I unlock the device. If I unlock the bootloader, and later decide I want to relock, I restore backup A.
Will the device be locked again or not?

Is it necessary to redo backup after sim unlocking?
Devices
Xperia m c1905(a perfect companion for mn2)

Samsung Galaxy mini

SmartWatch(mn2)

Nokia 6500


Instead of typing thanks, why not press thanks if I helped you?