Accessing Door Lock to Front Load Washer

The Door Lock Assembly to our Frididaire Front End Loader washer seems broken. How do I take it off to replace it?

Will the response be emailed to my email address – dianade60@yahoo.com

On the newer Frigidaire front loaders, the door switch can be changed simply by removing the top, take the door switch screws out, and pull the door switch out the top, wires are long enough.