Woman lawyer locks court after altercation with judge