Cognitive inhibition
Cognitive inhibition refers to the mind's ability to tune out stimuli that are irrelevant to the task/process at hand or to the mind's current state. Additionally, it can be done either in whole or in part, intentionally or otherwise.