Role capability delete multiple post type posts doesn’t work

you need to add

map_meta_cap => true,

in the args of register_post_type

    'publicly_queryable'  => false,
    'map_meta_cap'  => true,
    'capability_type'     => array( 'lead', 'leads' ),
);
register_post_type( 'leads', $args );