You have rights in your home you don’t have when you leave it.
What rights are those? Be specific.
Again, my advice is for the before-times. Whatever TikTok would have you believe, you will not shield yourself from getting arrested simply by trying to hide in your house if they do have a warrant for you, and it is not unsafe to walk out and talk with them if they don't have a warrant for you (as long as you don't say shit and keep it brief). If you try to hide in your house and make them break in if they do want to take you, all you've done is created damage to your house which they will not fix and also given them the opportunity to see things in plain view inside your house in the performance of their duties.
In the current times... yeah, like I said, you might be right. Be careful. I honestly wouldn't even try to have the through-the-door conversation unless I was confident of what agency they were from and that they were legit in whatever they were trying to do, I might just stay quiet inside and see what happens.