Unsure why this is a surprise to anyone.
The constitution doesn't allow anyone to indict the president.
They can share the info with Congress, who can then impeach.
But impeachment is a political process.
Then, if it comes to that, there is a special trial where the president can be removed.