When I am using Safari in full screen, and I press ESC key it's minimized. So that's why I started using karabiner-elements.
I install it, I use the first option in this page and the problem is solved.
Now, I want to know if in Office (Excel, Word, PorwerPoint) I can use the same settings.
In the page I mentioned before I didn't find the option I want.
In the video that I attach, the screen is minimized when I press ESC.