If you forget your Google account credentials, you may be unable to access your device after a factory reset. In this case, you may need to recover your account or perform a hard reset to bypass FRP.