Okay, I see that _edit_lock value is “timestamp:1”, so managed to add required metaposts. Instead of using
'post_id' => 'new'
I used time() to assign the timestamp value
'post_id' => $timestamp
then replaced the attachment post_parent containing that timestamp value with the new Post ID later and it worked like a charm.
Thank you once again for your great plugin and support!