Lock task mode
An Android feature that pins a managed device to an approved set of apps and hides the rest of the system. It is the mechanism behind kiosk mode.
Lock task mode holds a device inside an allowlisted set of apps. While it is active, the user cannot reach the home screen, system settings, notifications or other apps unless policy allows it. It is the Android mechanism behind kiosk mode on dedicated devices.
Lock task mode vs screen pinning
Screen pinning, also called app pinning, is a user feature. Anyone can start it and anyone can leave it. Lock task mode is set by the device's management policy, and the user cannot exit it.
How lock task mode is configured
On a device managed through the Android Management API, an admin does not switch lock task mode on directly. The admin sets a kiosk app or a kiosk launcher in policy, and the management agent on the device starts lock task mode for the allowed apps.