It's a self-inflicted wound and it might be a fatal one. All management had to do was contact their own legal counsel before spilling their guts, who would have told them that yes, a subpoena would be necessary to get that code. And even that could be contested in court should they decide to do so. Even liberal Democrat donors, which is what their new management appear to be, should have realized what this sort of compromise would do to their public reputation.
Aside from the issue of giving the code to the FBI, I have a problem with there being a “back door” or universal code to a safe I trusted to keep my firearms safe.