Maytag front loader latch problem/codes F29&F22

Problem description:
Maytag front load washer model mhwe300vw00. Began getting code ‘F29’ and door wouldn’t unlock. I unlocked manually and then began getting code ‘F22’. I then replaced the latch mechanism but still continue to get code ‘F22’ and the door won’t lock. Not sure what else I can replace or how??? Anyone come across this with this model?:confused: