Green Loctite seems ideal for this application.
https://datasheets.tdx.henkel.com/LOCTITE-290-en_GL.pdf
LOCTITE® 290 is a green, medium-high strength threadlocker designed for the locking and sealing of threaded fasteners. Because of its low viscosity, the product wicks between engaged threads by caplillary action and eliminates the need for disassembly prior to application. The anaerobic adhesive cures when confined in the absence of air between close-fitting metal surfaces and prevents loosening and leakage due to shock and vibration. Because of its flowable properties, the product is also suitable for sealing porosities in welds, castings and powdered metal parts.
Specifications
Brand: Loctite
Strength: Medium to High
Viscosity: 55 cP
Cure Time: 24 hrs.
Color: Green
Prevents fastener loosening on vibrating assemblies, e.g., pumps, gear boxes, presses
Ideal for locking preassembled fasteners, e.g. instrumentation fasteners, electrical connectors and set screws
Seals porosities in welds, castings and powdered metal parts
Requires heat for disassembly
Meets Mil Spec: Mil-S-46163A Type III Grade R