Somewhat similar to this question. A short part from Wikipedia article about Emirates Flight 521 (emphasis mine):
The captain was an unnamed 34-year-old UAE national who had been with Emirates since March 2001 and had logged 7,457 flight hours, including 5,123 hours on the Boeing 777.
In which situations or under which circumstances a name of pilot involved in serious crash may remain unknown or hidden?