Making a "cruise control" mechanic with the vehicle movement component ?

Hey, I am currently working with the vehicle movement component and I would like to make a “cruise control” (freeze current speed of the car) mechanic with it.