A simple app which locks the device in specified period of time and then asks password May be used as an example of using Device Administrator for adding/removing passwords
JustMax10001001/AndroidLockScheduler
A simple app which locks the device in specified period of time and then asks password
JavaMIT