add getSpnFromConfig

Change-Id: I9e2acadd4363c09988eb0bb4f7a39e49f2c182e6
new strategy to lock keyguard when there are many fail unlock attempts

Change-Id: Ic7d9166d7336e95f96a784e2449d1aa8288eaaa1