Found the solution here.
https://forums.flightsimulator.com/t/sim-locking-up-when-having-dev-mode-windows-open/346837/6?u=bilingualharp7