3-wire locking plug