If the washer flashes the red light and won't unlock, it's because it can't sense basket rpm. F7e1 error code, basket speed sensor, or sometimes f7e5, shifter error. Both of these are in the same place: the shift actuator. You'd think that swapping out the shift actuator would solve the problem, and if you're lucky it does. But not always. These vmw washers develop bad wires, rusted bearings, and intermittent connections on the pins in the connectors that plug one thing into the other.
The tech sheet for your washer is inside the front wall of the cabinet. Take 3 screws out and pop the hood, it's definitely worth it to read through the tech sheet.