Install through the plugin store or through composer : composer require ryssbowh/craft-restrict-deletions:^2.0
composer require ryssbowh/craft-restrict-deletions:^2.0