Yes, there in fact is. It's called obstruction of justice. One of the most fundamental and well-known laws regarding investigations.
8 U.S.C. § 1503 defines "obstruction of justice" as an act that "corruptly or by threats or force, or by any threatening letter or communication, influences, obstructs, or impedes, or endeavors to influence, obstruct, or impede, the due administration of justice."