Compact Designed Electro Magnetic Lock