Automatically turning off speakers when recording

Is there a way to automatically turn off speakers when recording in Audacity 3.2.2? The playback device is the Windows 11 laptop speakers but, if not turned off, give feedback. Not a big deal, just want to know if there is a setting I overlooked.

Un-tick “Software playthrough of input” in Audacity preferences ? …
https://manual.audacityteam.org/man/recording_preferences.html

Thank you, that worked. It was annoying to have to remember to turn the speakers off, which I usually didn’t, or turn them back on for playback. thanks