Changes in getLockScreenStatus Method for Checking Null Pointer

Signed-off-by: Mike Burke <mike@livioconnect.com>