The community is working on a visibility feature for Layout Builder: See Issue #2916876
We will provide a update-hook when finished and published to core.
Postponed: needs info
1.0
Code