shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java
@Implementation(minSdk = LOLLIPOP)
  protected void stopLockTask() {
    Shadow.<ShadowActivityManager>extract(getActivityManager())
        .setLockTaskModeState(ActivityManager.LOCK_TASK_MODE_NONE);
  }
@Implementation(minSdk = LOLLIPOP)
  protected void stopLockTask() {
    Shadow.<ShadowActivityManager>extract(getActivityManager())
        .setLockTaskModeState(ActivityManager.LOCK_TASK_MODE_NONE);
  }
Stops a lock task.

<p>The status of the lock task can be verified using {@link #isLockTask} method. Otherwise this
implementation has no effect.