If this is not caused by the Windows issue mentioned by TeMPOraL, I might have another explanation:
My former notebook (Acer Timeline 1810TZ) used to wake up from a press on any keyboard button, which I was unable to change.
The issue here is that with sufficient pressure (e.g. when I was running with the device in a messenger bag), the lid would bend enough to actually press a key and wake up the machine.
My hackish solution was a script that would automatically put the laptop back to sleep a few seconds after waking up, which I then manually killed after intentionally waking the device.
My former notebook (Acer Timeline 1810TZ) used to wake up from a press on any keyboard button, which I was unable to change. The issue here is that with sufficient pressure (e.g. when I was running with the device in a messenger bag), the lid would bend enough to actually press a key and wake up the machine.
My hackish solution was a script that would automatically put the laptop back to sleep a few seconds after waking up, which I then manually killed after intentionally waking the device.