In Army of the Dead, Bly Tanaka (Hiroyuki Sanada) hires Scott Ward (Dave Bautista) and his team of zombie killers to break into the safe below the Bly's casino to steal 200 million dollars in cash, but if it's his casino and his safe, wouldn't he also have the code to unlock it? Scott hires expert safecracker Ludwig Dieter (Matthias Schweighofer) to open the safe, but if Bly had been able to simply give them the code, the mission may have played out much differently. Fortunately, there is an explanation for this.
The whole heist aspect of Army of the Dead has always raised a few eyebrows. Initially, some people scoffed at the idea anyone would care about money after a zombie apocalypse before it was revealed the zombie outbreak was contained in Vegas and the rest of the world mostly carried on normally. The idea that Bly or his head of security, Martin (Garret Dillahunt) would have the combo makes a lot of sense, especially when Martin is sent along to use his keycards and other knowledge to give the team access. The fact that Martin turns on the team has some wondering if that's also why Tanaka didn't give them the combination because the whole thing was a set-up. But the answer is a lot more straightforward.
According to Army of the Dead: A Film by Zack Snyder: The Making of the Film book by Peter Aperlo, Tanaka doesn't know how to get into the safe (or even any details about the traps) for his own protection, likely so he wouldn't be the target of anyone thinking they could threaten or otherwise coerce him into helping them break in.
Using a model of the Bly Las Vegas, Tanaka points out that the vault is below Gomorrah, the south tower. Traps even he doesn't know about guard the safe, neither does he have the combination; both for security reasons.
While the answer is pretty straightforward, it certainly doesn't absolve Tanaka of any wrongdoing. Martin even says "Tanaka doesn't give a sh*t about the money!" The whole mission was always about getting some alpha zombie blood (or even better, the head of the Queen) to sell to the US military. In fact, if Tanaka had the code it'd probably be an advantage for him to share it with Scott and Dieter, as it'd be easier for Martin to sneak off if the rest of the team is busy counting and hauling money.
Given the basic premise of a heist in zombie-infested Vegas, most of the film's audience probably wouldn't care if Bly Tanaka not sharing the code was actually a plot hole, but for those looking for more than a simple zombie action romp out of Army of the Dead, this is one more detail that holds up under scrutiny, not just because it's explainable with the movie logic, but also because there's actual story reasons for him not sharing the code. There's a lot of shady details surrounding Tanaka, so hopefully, the upcoming animated prequel series, Army of the Dead: Lost Vegas will give more to his story and motivation.