Can I make it so that the bolt of the weapon is jammed with some probability?

If so, how?I want it to be possible for each weapon to write a chance for this

Not possible to do.