Is the process that includes being completely immersed in an activity while restricting emotions that might distract oneself from the focused attention?

Is the process that includes being completely immersed in an activity while restricting emotions that might distract oneself from the focused attention?