How can I block a device as a input source?

Hey guys, how can I block my bluetooth headset to be read as a input source? I did it some months ago but I just can’t find the tutorial and I can’t find anything on the internet searching for “block input audio source” “hide microphone” “blacklist input source”

You are probably referring to this

Many thanks!