SecuritySettings: Fix crash when lockscreen is set to a secure mode

Change-Id: Ie6d7de057dac4cdae72aed622f3145fa8e7271eb