Whilst I prefer a Mac and have only owned 7 Windows laptops over the years, not only have I never had this issue on them - I'd never even heard of it.“Behaving like Windows”. What a child. Owned Windows PCs my entire life. Never had this issue.
Maybe, it’s “Behaving like a Mac!”
Cue down votes from fanboys.
My MacBook Pro 16 however now always gets switched off as it drains the battery frequently during sleep. I've given up trying to fix it now.