I just put in this dishwasher which was used for 3 months then sat in my sisters garage for 3 years.
1. Keeps running even when you open door
2. Does not drain
You have two problems. Check your door latch and switches. They should open when you open the door.
Second, spray timer with non-residu spray and rotate a few times, then check.