Possible to connect z-wave lock to hub remotely?

When you say it didn’t work, as in it didn’t “find” the lock while pairing it with the SmartThings mobile app or it paired as generic “Thing”?

If it didn’t find the lock try these steps:

Without the exclusion it won’t pair in some circumstances and you’re also better off using the Scan nearby option instead of the brand name option for some locks (the brand name route disables some features for some locks)