By default, Revit creates a join where 2 walls intersect. But you can disallow joins for a selected wall whenever necessary. For example, if you want to keep small expansion spaces between walls, you can do so by disallowing joins for either of the adjacent wall ends.
2 horizontal walls with 3/8-inch expansion space between them
Disallowing joins is also useful for resolving complex joins. For example, if you add a wall to a complex join and it produces undesired results, you can disallow joins on the added wall and then use the Join Geometry tool to clean the join between this wall and other walls.
Selected wall with disallowed join
Wall cleaned up after Join Geometry used
The procedure for disallowing joins varies slightly for the ends of a wall as opposed to any of its mid-end faces.
To disallow/allow joins for a wall end
The end of the wall now cannot join to another wall. If you want to allow joins again, right-click the wall end control, and click Allow Join, or click (Allow Join) above the end of the wall.
To disallow a join on a mid-end face
Selected mid-end face with join disallowed
Selected mid-end face with join allowed