According to an aspect, a device includes a touch screen display and a controller. The touch screen display displays a lock screen. When a gesture to change a distance between a first touch and a second touch on the touch screen display is detected during display of the lock screen in a locked state, the controller for releases the locked state.