In the view where you want to show the beam or lintel as hidden line,
Look into your properties panel.
In the Range : Base Level, Select your current level. For the Range Top Level, select the level where the beam resides. Make sure Look Up is selected in the "Underlay Orientation".
When the beam shows up in your plan, go to Annotate Tab and pick Detail Line.
Use pick lines (Yellow Circle) and select your Line Style (red circle) select <Overhead> or hidden line. and pick your beam. Make sure to lock the line with the beam so that when the beam changes, the line follows
Once done, go back to the Properties > Underlay and select None for both Range :Base Level and Range : Top Level
Hope this helps.