IEC socket in housing for vertical installation with switch and mechanical locking. The switch is locked and can only be operated when the plug is inserted. The IEC socket can be secured with a padlock when switched on or off.