[lammps-users] How to freeze atoms

Hi all:
I need freeze some atoms during the simulation, the atoms may under some force. I have found there is only fix_freeze can do freeze, but this fix command is used for granular particles. It is said ParaDyn can do it using constrain, so I am wondering are there something LAMMPS can do it?

Thanks.

You can use fix setforce to set forces on a group of atoms to 0,
which effectively freezes them, if their velocity is also 0.

Steve