debug lock