I have this issue with my Surface Book 2, everything is MS so there's no real excuse.
Didn't notice it in the first couple years of ownership, not sure if it was because my usage patterns changed or some not-so-helpful update that made it worse, but it's really absurd that I can't predict what will happen when I close the laptop.
I did something to disable network activity from interrupting standby, which reduced the issues a bit but not consistently.
I got my first windows laptop in 1999 (Toshiba satellite), and had 4 subsequent one’s since including HP Elitebooks and Dell Latitude Pros, and on none of them could I close the lid at a moment’s notice and start moving. I have had an Intel MacBook Air since 7 years ago, and I have never not been able to close the lid at a moment’s notice and stuff it in my backpack and get going.