to be giving all your attention to sth so that you do not notice what is happening around you
be lost in sth
to be giving all your attention to sth so that you do not notice what is happening around you
to be lost in thought
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition