How can I block a device as a input source?

You are probably referring to this