The new function's implementation currently only supports 'pin' and 'puk', so I didn't bother to call it in the first place. But you make a good point here. I'll update this code and make the implementation behave well for these lock types.