Edit: when I plugged this into lichess it confirms mate in 3. Good puzzle.
Why did you plug this into lichess ?
To make sure I had the right solution. It picked a different set of opponent moves after the initial king move, but they don't really matter anyway so it's a wash. Plus, I just found out about that feature and wanted to use it.
Solution