Disable Windows 10 Automatic Locking Screen

This is particularly frustrating when you’ve already disabled turn off screen and disabled the screen saver and all other settings. Yet the computer still locks after 15 minutes. Suggested use cases: kiosks, security camera screens, upcoming appointments, etc. I’m re-blogging this solution that I found on the Internet. Credit goes to this page. Thank you.

Registry key:
Value: 0