一个插件可以利用设备管理器来配置锁屏设置
A plugin to leverage Device Administrator to configure lock screen settings through Trigger.
A change in Lollipop 5.0 makes this plugin UNABLE to disable the lock screen. 5.1 has fixed this issue and it should work appropriately.