How to retrofit a barrel (coaxial) power connector to make it locking?
A liberal amount of hot glue on the connector and device panel. This would hold against vibration or light pulling. This isn't for preventing brute force unplugging. Also doesn't have superglue propensity to run, possibly getting between conductors.