Beams should be hidden when stems are hidden. Accidentals can be set to hide. Can you show an image? Unless you only hide the stems on some notes in a beam group.
Depending on what you are trying to do, or if you ever need small slashes in the project, the “Blank Notation” workaround might be useful. I use it reasonably often anyway.
If it’s just for playback, you can create an extra staff above with all the notes. (right-click->staff->Add staff above) After adding the notes, click the +1 staff signpost and delete it. It will still play back. Or just add the ones you want hidden.