On a Mac:
Window > Application Frame
InDesign > Preferences
[No setting for application frame because it's always on]
Edit > Preferences
You can use keyboard shortcuts Ctrl+k to access Preferences from InDesign.
the preferences file will be stored in the following location
InDesign Defaults is the file stores all the default preferences.