Merge "Fix maximum time to lock" into sc-dev am: 2f9b5b6ad7

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14109359

Change-Id: I3e6717637d45e7b5470bbd85c5a6df3dcb68b499