How to unfix the fix id of bond/create or how to stop bond/create after certain number of bonds are created without halting the entire simulation

Im using the bond/create command as
fix my_bond all bond/create 2000 1 1 2.2 2 prob 0.5 12343 iparam 1 1 jparam 1 1

for which the following commands are not working
unfix my_bond
run 2000000 every 1000 "if f_my_bond[2] > 100’ then ‘unfix my_bond’

is there any way to unfix the bond/create once the criteria of certain bond are created ? without halting the running simulation ?

Instead of using run / every you could use fix halt.

But you cannot have a fix removed during a run. That will break things.