How to use slow-motion?

I use Set Global Time Dilation function ,when player is dead i set time dilation is 0.1.
when player play dead animation over, i set time dilation is 1.
But i hope player restore dont so fast, how to do restore slowly?
for example time dilation 0.1–>0.2->0.3 , motion is increasing restore.

my go to for accomplishing something over a given time is timelines. essentially it allows you to change a value via a curve over a given time. in theory it would work in this case