In most homes, the lock and perhaps a thermostat are the only battery operated devices which receive commands from the hub. There are lots of battery operated sensors which send information to the hub, but I’m talking about the situation where the hub is telling the device to do something.
And battery operated devices are almost always slower to respond than mains powered because they “sleep“ in order to conserve battery life.
For zwave locks, specifically, you can often improve response time by adding a beaming repeater close to the lock.
FAQ: why would I need another beaming repeater if my zwave lock is already close to my hub?