An embattled Brooklyn Surrogate's Court judge under investigation by an ethics panel for allegations of discrimination will have her courthouse keys returned to her, but remains blocked for now from presiding over cases, according to a judge's ruling to alter an administrative order issued against her last year.