(edited)
I have an Angular SSR deployed in Vercel and for some urls I want to return in the response a 410 status code, but I don`t really now how to manage 

I have an Angular SSR deployed in Vercel and for some urls I want to return in the response a 410 status code, but I don`t really now how to manage 

That's more of an Angular question, but you should be able to include a status code on the response. This looks like the kind of guide that can help:
https://dev.to/cubesoft/mastering-angular-ssr-enabling-custom-http-responses-404-301-55pc