How do I turn off spring arm yaw inheritance temporarily?

I have a vehicle setup that works fine, I’ve turned off inherit pitch and roll on the spring arm so when the car turns upside down the camera wont follow the quick direction change. These work fine, however, I can’t turn off yaw as then it wont follow the car when cornering. I’ve tried setting the yaw inheritance to watch if the keyboard buttons (w,a,s,d) is pressed inherit the yaw, if not - then don’t, but this is not really working well as it simply just bounces back to the original yaw value instead of keeping it where it was when the player released the keyboard button.

How do I keep the yaw value the same as when the keyboard button is released instead of the default value - so theres no camera jumping back and forth? I guess it requires event tick in some form, but I have no idea how exactly to set this up properly.