You can run any ADB command on your phone without ever connecting it to a PC.
Phones from major brands, including Motorola, OnePlus and Samsung, have a flaw that could be exploited to unlock the screen ...