When you heat a magnet, the atoms will move out of order and no longer align in the current magnetic field. When this happens the magnet will no longer be magnetic. ANd yes when it will lose its magnetic property it will not attract magnetic objects or iron .