I solved the problem with content_folder__new by making content::folder::new call content::item::new directly.
I solved content_party_revision__new by calling content::revision::new within contact::party::revision.
I added the lock to acs_rel__new and commit on HEAD.