Use this tool to create custom code for Post Status with register_post_status() function. Fill out the form, update the code, copy the code to your theme/plugin.
// Register Custom Status
function custom_post_status() {
$args = array(
'label' => _x( 'draft', 'Status General Name', 'text_domain' ),
'label_count' => _n_noop( 'Draft (%s)', 'Drafts (%s)', 'text_domain' ),
'public' => false,
'show_in_admin_all_list' => true,
'show_in_admin_status_list' => true,
'exclude_from_search' => true,
);
register_post_status( 'draft', $args );
}
// Hook into the 'init' action
add_action( 'init', 'custom_post_status', 0 );