[sr-dev] git:master:2056194d: tls: renamed lock_mode to init_mode in order to reuse for other purposes