Choose to use GrapheneOS or Google Camera. I prefer Google Camera.
Open Camera App -> settings -> Toggle off Save Location
Note: This will not save location exif data to your photos which is more secure and private, but you will not be able to search for photos by geographic location.
I highly recommend keeping this off, but some clients insist on using it, so another option is install ExifEraser and share your photos to it for processing and saving (in it's own storage scopes folder called something like, "ExifErased Media" for example) before sharing on the web.