I often plug my computer to my tv and close the lid, so I set 'Do nothing' when closing lid in the power options. However, I often close the lid when I walk away from my laptop in public places like libraries, and I want Windows to prompt for a password when I open the lid. Seems like it's only possible if the computer wakes up from sleep mode, not good for me.
How do I set Windows to not go to sleep AND prompt for password after closing the lid?