Check this link for more details.
You can easily Hard Reset HTC 12 Plus android mobile here. You can also unlock HTC 12 Plus phone when you forgot the password.
In this video, you can learn how to reset HTC 12 Plus android phone in different ways.
How to Hard Reset HTC 12 Plus.
Reset HTC 12 Plus without password.
Unlock HTC 12 Plus Android phone.
Reset HTC 12 Plus with Google Find My Device.
Wipe/delete data on HTC 12 Plus.
HTC 12 Plus format when forgot password.
HTC 12 Plus bypass google account protection.
Hard reset HTC 12 Plus
Power off your HTC Desire 12 Plus, by holding the power button.
Hold down the Volume Up + Power Button.
After that, Release both Buttons when you see LOGO appears.
Navigate with volume Buttons to select wipe data/factory reset option and Press the Power Button.
Afterward, use the Volume Buttons to select option YES and press Power button to confirm.
Finally Select reboot system now option.