Android Oreo Adds Commands to Programmatically Change the Lockscreen Pin, Password, or Pattern

(Source: XDA Developers (blog)) Do not mess with this if you can’t afford to lose your data, or if you aren’t rooted. … running Android Oreo would be to recreate an application like TimePIN.