I'm terrible at maintaining a consistent bedtime and often  stay up on the computer late into the night. Admittedly, this is usually  the time when I’m the most productive. I get so into things that I lose  track of time. However, this bad habit makes it hard to get enough  hours of sleep; something that’s not too good for the human body. Here's  how to get your computer to lock the screen at bedtime and help any of  you developer-types maintain a more consistent bedtime.          iOS and Android have had some sort of “digital well-being”  and time-management for about two years. These features are — among  other things — designed to help you wind down at night and help you  manage time and get enough sleep. It’s not a magic solution but its  something that can be helpful. However, computers are lagging behind the  trend and don’t offer the right tools.          I wanted my computer to kick me out of my...