In reference to your Maytag Neptune Washer, Model MAH4000AWW
List below are couple reasons that can cause your washer not to drain.
The washer drain hose MUST have an air gap at the point it drains. This problem occurs typically due to 3 reasons:
The drain hose is shoved into a floor drain without a siphon break (may hear the pump making an unusual noise).
The drain hose is more than 8 inches deep into the drain pipe.
The drain hose has been generously taped to the drain pipe at the air gap.
Oversudsing causes problems with the spinning / draining cycle. This problem occurs in for two reasons
HE detergent is a low sudsing formula and MUST be used in all HE machines.
Using too much detergent will cause oversuddsing in any type of machine.
Door Locked Light
is not turning on, it could be a problem with the internal indicator light and would require a professional technician.