sounds like a bug. file a bug report.
docs explicitly promise that learning rate 0 does not update the model. if it does anyway, that is definitely a bug.
you should include a MRE “reproducer” in the bug report. make it easy for the opencv devs to pin this down.
if you like, explore the source code and find the place where the learning rate is broken.