Fix twisted lockscreen logic.

Signed-off-by: travp624 <travp624@gmail.com>