1. A method of operating a security function of an electronic device, the method comprising: receiving a request for activation of a security function; confirming whether a security indicator is set; and when the security indicator is set, applying the security indicator to a security function screen image, in response to the request for the activation of the security function, and outputting the security function screen image to a display of the electronic device.