IDLOCK 150 codes adding but not working

I have an IDlock 150 with zwave module connected via Zwave JS, its using S0 legacy for encryption. Commands are working fine but i tried both Keymaster and Lock Manager and while it does add codes, the codes doesnt work.

using the commands set code, get code and clear codes work and the codes get added but they dont work in the lock. only manually added using the lock menus work. So i can add 123456 using set code, check that its there using get code, but cant unlock using it.

is there a setting to make it work or a problem with S0 encryption`?