Samsung uses technology named "Smart stay" on their Android devices (Samsung Galaxy S III):
It waits till you're asleep: the screen maintains a bright display as long as you're looking at it. Samsung Smart stay
Is there software to achieve the same behavior on a Windows laptop? Simply put, the software should use the webcam of the laptop and turn the screen off if there was nobody watching the display.