A switching apparatus comprising: a switching component comprising a first main shaft and adapted to selectively connect or disconnect at least one circuit in response to a rotation of the first main shaft ; and an operating mechanism comprising a second main shaft for actuating the rotation of the first main shaft ; wherein the switching component further comprises a first interface, the operating mechanism further comprises a second interface, and the second main shaft can be detachably coupled to the first main shaft in response to an engagement of the first interface and the second interface, characterized in that a locking member is arranged inside the first interface for locking the first main shaft in a rotation position corresponding to a switching state of the switching component , wherein the first main shaft comprises at least one locking slot arranged on its circumference, and the locking member comprises a locking pin operable to be inserted into one of the at least one locking slot to limit the rotation of the first main shaft , wherein the locking member comprises an operating member and operable to move from a release position to a locking position, in the release position, the locking pin is located outside one of the at least one locking slot , and in the locking position, the locking pin is located inside one of the at least one locking slot , wherein an elastic element is coupled to the locking member for driving the locking member to move from the locking position to the release position in response to a release of the operating member , wherein the operating member comprises a slot for engaging with a tool to pass through to move the locking member from the release position to the locking position. a switching component comprising a first main shaft and adapted to selectively connect or disconnect at least one circuit in response to a rotation of the first main shaft ; and an operating mechanism comprising a second main shaft for actuating the rotation of the first main shaft ; wherein the switching component further comprises a first interface, the operating mechanism further comprises a second interface, and the second main shaft can be detachably coupled to the first main shaft in response to an engagement of the first interface and the second interface, characterized in that a locking member is arranged inside the first interface for locking the first main shaft in a rotation position corresponding to a switching state of the switching component , wherein the first main shaft comprises at least one locking slot arranged on its circumference, and the locking member comprises a locking pin operable to be inserted into one of the at least one locking slot to limit the rotation of the first main shaft , wherein the locking member comprises an operating member and operable to move from a release position to a locking position, in the release position, the locking pin is located outside one of the at least one locking slot , and in the locking position, the locking pin is located inside one of the at least one locking slot , wherein an elastic element is coupled to the locking member for driving the locking member to move from the locking position to the release position in response to a release of the operating member , wherein the operating member comprises a slot for engaging with a tool to pass through to move the locking member from the release position to the locking position. <EOS>