One judge kicked the public out of his courtroom without explanation and attempted to hold a secret hearing; another improperly sealed a plea, according to experts.