It’s definitely not going to connect for the first time from that distance. You didn’t give the model number of your lock, but assuming it’s a Z wave lock, the first pairing Has to be within “whisper distance“ of the hub so that a security key can be exchanged. Once you get it added to your network, then it might actually work at that distance, especially if it’s one of the newer Z wave plus devices.
So for the initial pairing you need to either bring it closer to the hub or bring the hub closer to it.
If you have Wi-Fi and electrical power at the shop you can connect the hub to a Wi-Fi access point that has an ethernet socket on the side and use it that way just until you get the lock connected.
After the lock shows up as a lock on your network, move the hub back to its regular location. Then run a Z wave repair and it should be fine.
Although it’s likely that you will also need a beaming repeater within 15 feet of the lock.
FAQ: why would I need another beaming repeater if my zwave lock is already close to my hub?
If by chance it’s a Zigbee model, you have a different issue, because the distance is just too far. In that case, see the how to article in the community – created wiki on automating an outbuilding.
https://thingsthataresmart.wiki/index.php?title=How_to_Automate_an_Outbuilding