When a device is reset to factory settings, FRP automatically activates if the device was previously linked to a Google account. This security feature ensures that only the original owner can access the device after a reset. However, if you forget your Google account login information, you can find yourself locked out of your phone.