I was trying to scale this tilted cube along global z-axis:
I scaled it by twice with S+Z, the result ended up being:
I was baffled as clearly not only it scaled in z, but also in y.
Please help me comprehend this behavior. What does locking z-axis actually do? Why doesn't the result look more like: