Magnetic Latching relay? or not

Possibly using a normal relay monostable and some logic (not using arduino or similar)