Electronic equipment, such as a mobile phone, PDA or other device, is operative to turn on and to turn off keylock function or another function or to alter a characteristic of such function in response to shaking or other movement of the electronic equipment, e.g., when the mobile equipment is shaken at a given frequency and amplitude, according to a given code, in a given direction, e.g., twistin