It is called the Castle doctrine
Here are the states that abide by it: Alabama, Alaska, Arizona, Florida. Georgia, Idaho. Indiana, Kansas. Kentucky. Louisiana. Michigan, Mississippi. Missouri. Montana, Nevada, New Hampshire, North Carolina, Oklahoma. Pennsylvania. South Carolina. South Dakota...