To prevent that, I lower the blocking bar. It prevents reconstruction. You have to go to tool==>option==>general and activate the blocking bar. It's a yellow/orange bar that is at the top of the creation tree, you just have to go down to the last function in all the rooms of the ASM and especially in the one where there are shared and create functions in the ASM
Thank you ac cobra 427, your solution should work I think, but since I work with parts that are not mine, I prefer not to touch them, and I will continue to have assemblies that I always have to re-record.
In fact you don't modify the parts in any way. You just block the reconstruction, after lowering the blocking bar you can raise it at any time to modify the part