Hide or Lock Transform on component or Actor in Editor

I am developing a plugin and I have several UStaticMeshComponents attached to sockets of the parent component.

These multiple components are used for visual indication only and I want to deny all transforms on them unless it is done from the parent component.

Currently in my code I am using ->bSelectable=false; to deny accidently selecting and moving them in the viewport, but this is not enough. I do not want to accidently change their location form the details panel.

I found a solution by adding bEditableWhenInherited = false; on the component but I do not know if is standard practice or simple hack.