things like opening a remote network connection etc
That should have rewritten with async long ago. Not the whole Emacs, but creating tramp a subprocess binary or an async elisp function.
Unfortunately, more often that I want. My emacs locks up for multiple seconds a few times a week. Yet, been using emacs for 20+ years, so changing to something else is difficult.
It's especially noticeable with LSP stuff.