How to behave in a passage and lobby
As for how to behave in public spaces, Japanese are brought up from childhood to be very disciplined. From childhood, as Japanese have been told by school teachers and parents that "Whenever you do something, always think about how people in the surroundings feel," it is a proof of adulthood to act properly in the public space, and being able to do it is the mark of a person with dignity.
As a result, people sitting in the narrow corridor of the hotel, not being concerned about the troubles of the surroundings, being stuck in the lobby spreading out with friends for a long time, cannot be tolerated. This, of course, applies not only for foreign tourists; even if Japanese people act the same, it is considered uncultured behavior.
In addition to the lobby, corridors, public spaces in the hotel, there are restaurants and large public baths. Behaviors in these places are different from behavior in one’s own room, and actions with consideration for surroundings are necessary. When walking in the corridor at midnight, one aspect of manners is not to make a loud voice. Also, if there is a Japanese style public bath, there are unique rules, such as not bringing the towel into hot water, so it is recommended that you read the precautionary statements set up in the dressing room, etc. before bathing.
Although these may seem a bit uptight, they are based on the spirit that everyone should feel "comfortable" with each other. It is not pleasing for anyone to believe that one is a rude person when traveling in another country without having knowledge of manners. In the case of Japan, I think that you should know that these things are manners.