The ResetLaptimesCache InputAction resets the laptime part of the data cacke for the current vehicle when in cockpit.
If you're currently on a hotlap, only the cached hotlap time is resetted and the same for the regular laps.