Hi.
The problem is a bad temperature sensing switch
Part number: W10179666
It's the first one on the left.
Here are the breakdown diagrams and
Replacement parts for Whirlpool WTW57ESVW0 AUTOMATIC WASHER | AppliancePartsPros.com
Thank you. Post the results.
Simon.