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?