Try Android Multi Tools for its ease of use.

The "Clean All" option ensures every bit of old password data is purged. 3. Qualcomm Flash Image Loader (QFIL)

Button 8 usually handles "Wipe Data/Cache" specifically via Fastboot. How to Use a Fastboot Erase Tool to Remove a Password

If you want the cleanest, most reliable experience, look no further than the original command-line interface. Users who want zero bloatware and total control.

To erase a password, you typically use fastboot erase userdata .