Hello Jun,
In all the sample projects you can find a xxxapp_HandleKeys routine. This is used to turn advertising on and off and also to toggle the Tx power level from 0 to -6 dBm.
The functions are provided so that you can also change the power levels anywhere else in your code.
Thanks,