Bug 959109: Check screen and lock state at the same time.

Make screenchange, lock, unlock into one fall through case statement.