How to get dual rates inside flight controller?

Hello,

I would like to have a function similar to classic dual rates of a transmitter but working inside the flight controller.

I explain. With a channel activate and deactivate a reduction of horizontal and vertical speed/acceleration in Loitter mode.

Does this already exist in the parameters or is an LUA script the way to go?

Thanks