A greeting used when entering someone’s home or room meaning “excuse the intrusion; I’m coming in,” expressing politeness for entering another’s space.
友達の家に行って、ドアを開けるときに『お邪魔します』と言った。
I went to a friend's house and said 'o-jama shimasu' when opening the door.
先生の研究室に入るときは必ず『お邪魔します』と一声かける。
You should always say 'o-jama shimasu' when entering the professor's office.
訪問先に到着してチャイムを鳴らし、家の人に『お邪魔します』と言って入った。
I arrived at the appointment, rang the bell, and said 'o-jama shimasu' before entering.