add get/set debug lock