Hi There!
Welcome to the Auth0 Community!
As we don’t have a strict decision tree regarding which is better, we have an excellent Knowledge Solution that dives deep into comparison of Lock vs Custom UI → When to Use Lock vs. Custom User Interface
Thanks
Dawid