How to block the ability to edit dashboards when transferring them an iframe

I transmit dashboards from grafana by url through the iframe to my website, in mde TV. But if the user presses the ESC button in iframe, he will exit out from TV mode. How I can to user block exit from TV mod?