1. G10 P0 L2 Z0.1 # this will set the Z WCS to 0.1mm higher, however it will NOT move the head immediately as it only takes effect on the next G1 that has a Z in it

+

2. G0 Znnn # this will move the Z after the last received g code to nnn, you will need to make sure that nnn is the actual z height you want right now (usually the Z it is currently at, as 0.1mm will be added to that due to step 1)