A lot of macOS behavior can be toggled by modifying the system component defaults.
For example, turn off autohiding of the Dock from commandline:
defaults write com.apple.dock "autohide" -bool "false" && killall Dock
Include the date in screenshots you take: defaults write com.apple.screencapture "include-date" -bool "true"
Here is handy website which documents many of the defaults and their purpose:
https://macos-defaults.com/#%F0%9F%99%8B-what-s-a-defaults-c... replies(1):