Fix for Lock before unlock

- Using lock before unlock combined with patterm pin or password when try to unlock using any app or activity instead of normal lock (padlock shortcut) the unlock process only work if we enter the method two times and not in first attempt.

Signed-off-by: Shubhang <shubhang92@gmail.com>