I experienced a issue similar to the related onto the Mx 9.18.2 fix → https://docs.mendix.com/releasenotes/studio-pro/9.18/#fixes
In My case, The error started after a Windows 11 cumulative .NET update…
Probably the froze issue is related to .NET vs Mendix…
Because, after uninstall kb5017271 freezes errors disappeared.
( and later on the KB5020622 for Windows 11, version 22H2, seems to fixed something as well)
I use to have a lot of trouble with Mendix freezing, until I start working with branches, that solved the problem.
if your not the only one working on the same development branch I gets super slow. I suggest you to create your own one. if you need help with this please comment and I can guide you.
Hope you find the solution !