Add gesture based lockscreen security. [2/2]

Cherrypicked from ChameleonOS source