When posting in a public forum, you should make certain that you post to the correct category.
Questions about LAMMPS should go to one of the LAMMPS categories. Your post has nothing to do with the Materials Project. I have noticed your post by accident and will this time send it to the proper category, but don’t expect that to happen in the future.
For posting about LAMMPS you should first study Please Read This First: Guidelines and Suggestions for posting LAMMPS questions
This is the documented behavior!
The “s” stands for “shrink-wrap” boundary conditions, i.e. the box dimensions follow the extent of the particles in that dimension.
Your understanding is not quite correct.
So you should use “f” instead of “s”. Just check the documentation!