[lammps-users] fixing of z coordinates of atoms

I’d like to fix z coordinates of atoms only instead of fixing all components of coordinate.
Is it possible?
If so, what should I do for it in detail?

Best regards,

Luke