What Does Lightning Locker Affect?

Find out what’s affected and what’s not affected by Lightning Locker. Lightning Locker enforces security and best practices for custom Lightning components you use in:

  • Lightning Experience
  • Salesforce mobile app
  • Experience Builder sites
  • Flows
  • Standalone apps that you create (for example, myApp.app) to run in Salesforce Classic or Lightning Experience
  • Any other app where you can add a custom Lightning component, such as Salesforce Console in Lightning Experience
  • Lightning Out
  • Visualforce pages in Salesforce Classic
  • Visualforce-based sites

Lightning Locker doesn’t affect environments where you don’t use custom Lightning components.