: To avoid FRP issues, always remove your Google account in Settings > Accounts before performing a factory reset.
If you are locked out of your own device: motorola frp unlock tool