IEC socket without housing base for horizontal arrangement with switch and mechanical lock. The switch is locked and can only be operated when the plug is plugged in. The IEC socket can be secured with a padlock in either the on or off state. For installation in socket combinations, surface-mounted, flush-mounted housings and for installation in machines and systems.