Dishwasher won't switch from wash to rinse

Dishwasher stays on wash cycle and won’t switch to rinse. Could it be the controls are locked? Thank you. Joe