Turn off PBC in one direction

Hi everyone, 

Now I want to perform shear simulation and I want to turn off PBC in X-direction. 

I tried to search some documents but I found nothting.

Could anyone help me?

Thank you very much!