Help Flash unlock help


Flash Unlock

So i bought an LG G4 (sprint) and it is flash unlocked. It is also rooted with SuperSu. My question is... If i unroot my G4 will it remove the flash unlock that lets me use it on Metro Pcs and T-mobile. I need to know if it will no longer work on gsm network if i unroot it. Thank you in advance.