How can I prevent to delete and copy actor in editor

Hi. I’m making tool.
I want prevent delete actor using delete key and copy actor using Ctrl + C, Ctrl + V. I found some functions that CanDeleteSelectedActor and ShouldExport. I know CanDeleteSelectedActor is preventing delete and ShouldExport preventing copy. But I figure that CanDeleteSelectedActor call even when I don’t want delete. I’m worried side effect. Is way is ok for preventing delete and copy?.
Last I found RF_Transaction flag. When I remove this flag from actor is not deleted and copy. But when I looking for code that using RF_transaction flag. I can’t sure there is no side effect. Is the anyone using that’s functions and flag. Could you explain that functions and flag? or Is there other way for preventing delete and copy actor?