Remove the Publish metabox for custom post type [duplicate]

WordPress provides the remove_meta_box() function exactly for this purpose:

add_action( 'admin_menu', function () {
    remove_meta_box( 'submitdiv', 'events', 'side' );
} );

The second parameter, events, will need to be replaced with the name of your custom post type.