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.