I bought the replacement part. The one that I replaced was shattered. I didn't know this until I started to take apart the washing machine. I was assuming that screws were loose.
The locking mechanism was an easy replace. Just unplug the old one and plug in the new one. Hardest part was figuring out where all the screws go.