There's also an "Automatically unlock" option in the Metro-style unlock dialog Windows 8 uses, but you have to press a "More options" button to reveal it. This feature is also available in Windows 7, and it appears right there in its unlock dialog.