Removing Google Account on the phone will erase all of your data.
All described operations you are doing at your own risk.
If want saves your data do a backup before start.
The battery should be at least 50% charged before the start.
When you're ready you can follow this tutorial.
Excellent FRP (Factory Reset Protection) is removed/erased.