Revert "Merge pull request #78 from yurenju/lockscreen-refactor-local"

This reverts commit c9fa85808e8e6e740463a491a7d42ae5fafa919c, reversing
changes made to 90a5ce2fd07857667c44d168acbcffe817af7bc3.