I first tried changing the door latch, that didn't solve the issue and I realized that it was a software issue and the control board was not functioning properly.
Changing the control board was surprisingly easy, I followed the instructions in this video: https://www.youtube.com/watch?v=SnlGOBVZt1U&ab_channel=Drewin%27Around
After unscrewing/rescrewing a few nuts and unplugging and replugging a few connections - the dishwasher worked!