Welcome to Android Central! It won't matter if you do a factory reset, because Factory Reset Protection will be triggered, requiring you to enter your Google credentials. If you don't know them, then the device will be useless. Has this always been your device?