Do you have the option for maintenance mode. You will find it in device care at the bottom. If your phone does how ever get wiped. Back up all important data.
Yes, your 2FA apps via Google and Microsoft Authenticator should still work after wiping your phone and restoring from a backup:
