Merge "DO NOT MERGE - Allow locking with feature or permission" into rvc-dev am: 7048655cbe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739858

Change-Id: Id15bb58fa014cfc1eadedf97d0d13da13dc7ba22