delegate method added to lock gestures