The rapid and irreversible change of photospheric magnetic fields associated with flares has been confirmed by many recent studies. These studies showed that the photospheric magnetic fields respond to coronal field restructuring and turn to a more horizontal state near the magnetic polarity inversion line (PIL) after eruptions. Recent theoretical work has shown that the change in the Lorentz force associated with a magnetic eruption will lead to such a field configuration at the photosphere. The Helioseismic Magnetic Imager has been providing unprecedented full-disk vector magnetograms covering the rising phase of the solar cycle 24. In this study, we analyze 18 flares in four active regions, with GOES X-ray class ranging from C4.7 to X5.4. We find that there are permanent and rapid changes of magnetic field around the flaring PIL, the most notable of which is the increase of the transverse magnetic field. The changes of fields integrated over the area and the derived change of Lorentz force both show a strong correlation with flare magnitude. It is the first time that such magnetic field changes have been observed even for C-class flares. Furthermore, for seven events with associated coronal mass ejections (CMEs), we use an estimate of the impulse provided by the Lorentz force, plus the observed CME velocity, to estimate the CME mass. We find that if the timescale of the back reaction is short, i.e., in the order of 10 s, the derived values of CME mass (∼10 15 g) generally agree with those reported in literature.