In a lot of European and Asian countries flight deck visits are still allowed, this includes carriers such as Air France. I'll stay on British carriers for the time being.
In my opinion i can't think of anything more stupid than still letting passengers come freely on the flight deck without any prior security/background checks.