NEB fix first, last replica


I want to run neb simulations on lammps 7th Aug, 19 version. I realized that the first and last replica for neb are not fixed in lammps. I wish to restrict the movement of my first and last replica. Has anyone done this before or could guide me how to do this in lammps neb code?