Particle pinning as a method to manipulate marginal stability