How to lock rotation of a part?

Just leave a 0 on the Y axis, simple