Frigidaire Affinity Washer Error Code E41 = Control board thinks the door switch is open. Usually replacing the door switch fixes and clears the error code.
Does this machine have the 'old style' mechanical control timer unit the you rotate the dial?
If you need further help, I’m available over the phone at https://www.6ya.com/expert/craig_3fa289bf857b1a3c
This sounds like a similar fault I repaired on a Fisher Paykell top loader smart drive. It would fill up, start it's wash cycle (you'd hear the engine turn back and forth ) and a second later stop. It turned out that a position sensor on the motor had failed due to a small water leak. I'm unable to find the motor for your model of Frigidaire to see if there is a similar sensor or pick up module though.