A shock-absorbing pad works by using materials that are able to absorb and dissipate vibrations and shocks. These materials may include rubber, foam, or other types of cushioning materials. When a shock or vibration occurs, the pad absorbs the energy and prevents it from being transmitted to the sensor, which helps to prevent false alarms.