An X-ray imaging apparatus includes a body unit including a bed unit where
an object is put, an X-ray irradiation unit configured to irradiate an
X-ray to the object and an X-ray detector configured to detect the X-ray
passing through the object, an input unit configured to input control
information to control at least part of operation of the body unit, a
selection unit configured to select ON or OFF of a lock mode and a
controller configured to determine at least part of the control
information is locked when the lock mode is ON and the at least part of
the control information is released when the lock mode is OFF.