Actually yes it had that effect. Without that immunity, the market would have felt the pressure and invested more into research into better gun locks etc. The immunity laws took away that incentive. Economists have discussed this issue at length about how the gun market is different than other markets due to this.