FRP (Factory Reset Protection) is a protection for restoring factory settings that Google has supported since Android 5.1. FRP is automatically enabled when you log in to a Google account. At this time, if you want to restore the factory settings, the Google account password is required.
However, if you've used untrusted methods, such as directly flashing the device or performing unauthorized system modifications, the FRP lock will be activated, preventing you from setting a password or making other changes.
We recommend avoiding third-party flashing tools to protect your device from security issues. Thank you for your understanding!