Am sure I read somewhere you need to be careful with grease, as some can react with Ti…
The whole point of Titanium is that it doesn’t corrode in air, or react with most other chemicals. So no grease that you can buy, will ever be an issue. Some greases can damage the lacquer on Carbon Fibre, but the biggest issue with metals is rust (steel) or galvanic corrosion with aluminium. Grease or copperslip on the threads will help alleviate this. I’ve had to remove stuck aluminium seatposts from steel bike frames; the corrosion causes the seatpost to ‘swell’ slightly, if you like, which makes it get stuck. Violence and caustic soda were used, and the steel frames suffered no lasting damage.
A bolt coming loose is better than one getting stuck (on something that you want to remove like a bottle cage at least). Sounds like either the thread on the frame of the bolt itself might be slightly below the required dimension. Threadlock can help, as can a bit of PTFE tape, I’ve found in the past.