Python Scripting to generate folder in the outliner

Hi,

In Unreal Engine 5.3, I am trying to automated a generate a map with a folder and move the actor spawned into the folder.

I could not find documentation on how to create folder in the outliner map.
So for instance, I got actor all with a code name C25_Actor_1, I want to generate a folder C25 and moved them there (see image).

The only work around was to generate an empty actor and move them there.

Also the second question is anyone has arrive to lock actor movement via python script ?

Kind Regards