Ender 3 Max Z-offset/Z movement

Have a look at “Setting your Z Offset” in the FAQ: