1. A method comprising: receiving a swipe gesture from an initial touch location on a touch-sensitive display of an electronic device; determining touch attributes for the swipe gesture, the touch attributes comprising a touch location of the swipe gesture; performing a first lock function when the swipe gesture progresses to a first touch location on the touch-sensitive display that is beyond a first threshold from the initial touch location, wherein the first lock function locks a first set of functionalities of the electronic device; and performing a second lock function when the swipe gesture progresses to a second touch location on the touch-sensitive display that is beyond a second threshold from the initial touch location, wherein the second lock function locks a second, different set of functionalities of the electronic device and the second threshold is beyond the first threshold.
1. A method comprising: receiving a swipe gesture from an initial touch location on a touch-sensitive display of an electronic device; determining touch attributes for the swipe gesture, the touch attributes comprising a touch location of the swipe gesture; performing a first lock function when the swipe gesture progresses to a first touch location on the touch-sensitive display that is beyond a first threshold from the initial touch location, wherein the first lock function locks a first set of functionalities of the electronic device; and performing a second lock function when the swipe gesture progresses to a second touch location on the touch-sensitive display that is beyond a second threshold from the initial touch location, wherein the second lock function locks a second, different set of functionalities of the electronic device and the second threshold is beyond the first threshold. 6. The method of claim 1 , wherein at least one of the first and second thresholds is defined by a distance along a path followed by the swipe gesture from the initial touch.