You can reset it by reset your phone or write firmware. But maybe FRP (google account lock) will appears.In that case your user data will be lost.You can see if FRP is activated. You have to enter the Download Mode, and you will see FRP: ON or OFF.