You might see if you can find a service manual for the specific make and model, it could be as simple as a hidden breaker switch that flips to factory defaults.
Of course not all makes and models are out there, but a lot are!
https://www.servicemanuals.net/en/washing-machine-service-manuals