DynamicalSystems.jl: how to change the value of a parameter after a certain period

This code is extremely useful: the plot you got is exactly the one I should get.
Thank you so very much for your help!!!