Don't allow user to dream when not unlocked.

Bug: 262584382
Test: manually by rebooting device, docking, and then short pressing
power button. The device should be locked (which prevents dreaming), so
the screen should turn off rather than going to dream.

Change-Id: I6d194b6345d382991ae9d9016060df8edf5d48fe
1 file changed