All washed up

After selecting a cycle the washer does not lock the door and after about 30 seconds it turns the pump on and the control board becomes non- resposive. Any Ideas?