Sentry appSentry is Security tool that is open source under the GPL-3.0-only license. Tiny app to enforce security policies of your device.
* limit the maximum number of failed password attempts
* disable USB data connections (Android 12, USB HAL 1.3, Device Owner)
* disable safe boot mode (Android 7, Device Owner)
* notify on failed password attempt
* notify when an app without Internet permission got it after an update
Be aware that the app may not work in safe mode.
* DEVICE_ADMIN - limit the maximum number of failed password attempts
* DEVICE_OWNER - disable USB data connections
* NOTIFICATION_LISTENER - receive lock/package events
* QUERY_ALL_PACKAGES - receive all package events
It is Free Open Source Software.