Spoof device as locked
You can try using Flex to see if there is a simple method that it uses to detect whether the device is locked, at which point you can override the return boolean to always return true. Without being able to run the app, I can't create a patch myself, but search for methods with names such as ‘lock’.