If you have a broken or faulty door latch, your dishwasher door may not stay closed, and this can prevent the dishwasher from running. This is an OEM part sourced directly from the manufacturer. You need to check compatibility with your appliance model number.
eBay