How do I make a free look, returning to position camera for a car driver's view.

I am trying to make a camera for my car’s driver view that allows me to look around using the mouse and then return to looking forward position if the mouse stops moving, just like in car sims and GTA. I can’t find any info anywhere about it. I’m sorry if it sounds basic, I’m only starting out with blueprints and I come from 3D modeling and not programming. I am planning to add a camera switch for outside too, but it seems kinda far away now, I just need the free look camera so I can drive around my level while inspecting stuff.

I assume you have a camera set up? Create a variable or have your mouse movement logic set up and when the mouse movement stops just set the direction/otation of the camera to where you want. (Look at whatever direction/rotation is the default.)