Interlocking devices having electrical operation