[VP, TP] {refactoring} keypad lock

keypad lock refacored