If you phone is patch to unlock. If you flash your phone, you'll lose the unlock and it will locked.

Does the fully unlock can affect to gdfs? or erom? or even imei?