I think this might create confusion in people who switch between different OSes (including mobile ones), because the icon without lock is the same, but has different meaning.
Perhaps it would be better to use only icons with locks: "proper" lock for secured connection and "broken" one for insecure. Also the lock may be placed in different place (e.g. lower-right for secure, and lower-left for insecure) to make it easier to distinguish with just a glance.
I think this might create confusion in people who switch between different OSes (including mobile ones), because the icon without lock is the same, but has different meaning.
Perhaps it would be better to use only icons with locks: "proper" lock for secured connection and "broken" one for insecure. Also the lock may be placed in different place (e.g. lower-right for secure, and lower-left for insecure) to make it easier to distinguish with just a glance.