Just upgraded to 2023 on a Mac--weird file save error. No, it's not locked!

Another thing to try. Open System Preferences > Security and Privacy > Files and Folders… locate SketchUp 2023, and confirm that it is present in the list and has permissions checked off to write to locations.