Electric alarm locks with contact making inside the lock or in the striking plate by movement of the bolt {by transverse movement}