From Longman Dictionary of Contemporary Englishwalk in on somebody phrasal verbINTERRUPTto go into a room and accidentally interrupt someone who is doing something private that they would not want you to see → walk→ See Verb table
Examples from the Corpus
walk in on • Ever walked in on a really deviant scene?• The Rector walked in on Freddie the lion and his sleeping mate.