electromagnetic velcro

When you apply electricity to a coil, it becomes magnet and gets attracted to a magnet, and when you remove the electricity, it does not get attracted… Theoretically. My idea was to make a velcro like connector, of which close/open state can be controlled by electricity. I made 3 material...