There is a “Display name” (in Settings) and a “Name” (in Settings/Manage Smart Lock).
The latter one is the config name which is also shown in all APIs (including the Bridge API).
The former one is the device specific name you can set in any App, Nuk Web etc. to distinguish devices which may have the same config name (e.g. if my Smart Locks config name is “Home” and I get an invite from a friend who’s Smart Lock is also called “Home”).
So do I understand correctly, that you changed the “Name” and this was not immediatly shown in the /list command and only orrected after a restart?
If yes, that is, because the /list command is cached data from the Bridge. You can check this with /lockState which gets the data directly from the device (but therefore will increase battery usage on the device).
So new names shown can be delayed till the next sync (which is done in your example via the restart).