I would like to ask:

How can I restrict the items in the child level cannot have children? And is it possible to restrict the folder level(that have children), let say folder A, whose siblings, let say folder B (has same level of folder A) cannot move to folder A and to be a child of folder A?