That's not true. You can take any single piece of that lean code, and it tells you exactly how to prove it.
It's just that no single human understands the whole. But we had proofs like that before.
Btw, see also the infamous proof of the 4 colour theorem, which faced similar hurdles.
Riemann hypothesis is "the statement". The entirety of it, a single statement. And we know for a fact that single statement - the entirety of Riemann hypothesis - is true. Understanding how to prove this one statement is understanding how to prove the entirety of that one statement. And like you said yourself, no human understands the whole of this one statement. This literally never happened before.