GTA 6 can drive your car for you, and Polygon's explainer is one of the most-linked guides on how to do it. Guides covering the feature describe the same basic steps. Set a waypoint on the map, since Auto Drive needs a destination. Get into a vehicle, keep a little throttle on until the prompt appears, then hold Circle on PS5 or B on Xbox. Some guides say you have to enter Cinematic Mode first (hold down on the D-pad), and others say the prompt shows up without it, so try both if nothing appears. Holding down on the D-pad again turns it off.
There's also a setting that decides when it's allowed. One guide says it's under Settings > Gameplay > Auto Drive with Restricted as the default, and another puts it under Accessibility. Check both menus. Secondary coverage of Polygon's piece says the unrestricted mode also works during chase and escape missions, and at least one guide says it works on boats for destinations you can reach by water. We couldn't load Polygon's page directly, so we're relying on that other coverage here. Polygon's guide is the one to read for the full walkthrough.