An electronic device (200, 1100) comprising: a housing; at least one camera disposed inside the housing; at least one door disposed between the housing and a lens of the at least one camera; a driving unit configured to open or close the lens of the at least one camera by slidably moving the door, wherein the driving unit comprises a linear actuator that linearly moves by applying a voltage; a display; and a processor electrically connected to the at least one camera, the driving unit and the display, wherein the processor is configured to: in response to reception of a camera application execution request, identify a connection state with a network; based on identifying that the network is connected, obtain biometric authentication information; when it is identified that a normal authentication is made with respect to the biometric authentication information, transmit a control signal to the driving circuit to open the lens by slidably moving the door, and control the display to display an open state of the lens according to movement of the door; and when it is identified that a normal authentication is not made with respect to the biometric authentication information, control the driving circuit to maintain the lens as being closed, and control the display to display a close state of the lens. a housing; at least one camera disposed inside the housing; at least one door disposed between the housing and a lens of the at least one camera; a driving unit configured to open or close the lens of the at least one camera by slidably moving the door, wherein the driving unit comprises a linear actuator that linearly moves by applying a voltage; a display; and a processor electrically connected to the at least one camera, the driving unit and the display, wherein the processor is configured to: in response to reception of a camera application execution request, identify a connection state with a network; based on identifying that the network is connected, obtain biometric authentication information; when it is identified that a normal authentication is made with respect to the biometric authentication information, transmit a control signal to the driving circuit to open the lens by slidably moving the door, and control the display to display an open state of the lens according to movement of the door; and when it is identified that a normal authentication is not made with respect to the biometric authentication information, control the driving circuit to maintain the lens as being closed, and control the display to display a close state of the lens. in response to reception of a camera application execution request, identify a connection state with a network; based on identifying that the network is connected, obtain biometric authentication information; when it is identified that a normal authentication is made with respect to the biometric authentication information, transmit a control signal to the driving circuit to open the lens by slidably moving the door, and control the display to display an open state of the lens according to movement of the door; and when it is identified that a normal authentication is not made with respect to the biometric authentication information, control the driving circuit to maintain the lens as being closed, and control the display to display a close state of the lens.