It is conceptually related to "security theater", but distinct:
Image source: https://bleacherreport.com/articles/704255-wwe-the-15-worst-kayfabe-breaking-moments-in-wwe-history (note turn sound way down as there is LOUD autoplay).
In professional wrestling, kayfabe /ˈkeɪfeɪb/ is the portrayal of staged events within the industry as "real" or "true," specifically the portrayal of competition, rivalries, and relationships between participants as being genuine and not of a staged or pre-determined nature of any kind. Kayfabe has also evolved to become a code word of sorts for maintaining this "reality" within the direct or indirect presence of the general public.
Kayfabe is often seen as the suspension of disbelief that is used to create the non-wrestling aspects of promotions, such as feuds, angles, and gimmicks, in a manner similar to other forms of fictional entertainment. In relative terms, a wrestler breaking kayfabe during a show would be likened to breaking character by an actor on-camera. Also, since wrestling is performed in front of a live audience, whose interaction with the show is crucial to its success, kayfabe can be compared to the fourth wall in acting, since there is hardly any conventional fourth wall to begin with. In general anything shown on a professional wrestling show is to some extent scripted, or "Kayfabe", even though at times they try to present it as legitimate.