Response from devices i.e. locks(Noob question)

Ok, so I’m planning on doing some dev work and was looking at responses from devices.

Do responses occur from devices to HA?

Example: There is a service in HA for locks named lock.set_usercode

Does HA get a response from the lock signifying a lock code was added? Or is nothing guaranteed to occur?

I can see zwave responses in the log but can HA see that response?