A method for controlling an electronic apparatus is described where the electronic apparatus includes a first body, a second body on which a touch display unit is provided, and a rotary shaft used to connect the first body and the second body and through which the second body can rotate relative to the first body. The method includes determining whether the electronic apparatus is under a predetermined condition, so as to obtain a determination result; and when the determination result indicates that the electronic apparatus is under the predetermined condition, increasing a rotation resistance that the rotary shaft experiences during rotation of the rotary shaft, so as to cause the second body to reside in a non-rotational state relative to the first body when a user is touching the touch display unit.