This is a generic and only partial solution, but maybe you could check device manager > keyboards >keyboard > power management tab, then look for a box called something like "allow this device to wake the computer" and tick it.
So, if opening the lid doesn't start the computer, hitting any key will.
But you may not have a power management tab.