The local speed shop in Sunny Central California where I came from last summer recommends red RTV as a header bolt locking compound.

Works fine.
The bolts don't back out and when required, release easily.