[sr-dev] git:master:36b1cfe9: ims_*_scscf: Safety checks for the locks