Enable enterprise factory reset protection
In most cases, resetting a device through other methods when there is a Google account present will trigger FRP. On Work Profile on company-owned devices, FRP is generally triggered if a Google account is present on the device at the time of reset.
Read more