Can you be a bit more specific about what you mean by “hang up” please?
Is it just that VST instruments stop producing sound, or does the entire computer freeze?
Regarding MIDI 2.0, have a look at the post below and then click the link to the Discord server where you can discuss this directly with Microsoft personnel and other Windows MIDI users.
In particular, see the part about third-party drivers – many of which are no longer needed on Windows 11.