Well I’m perfectly within my rights to meet force with force in my state. That said, it depends on the situation. .
As per BB's statement, all folks should be aware of your states laws/rules regarding where, what & when lethal force can be applied.
In my state...
Use Of Force In Defense Of Person
45-3-102. Use of force in defense of person. A person is justified in the use of force or threat to use force against another when and to the extent that the person reasonably believes that the conduct is necessary for self-defense or the defense of another against the other person's imminent use of unlawful force. However, the person is justified in the use of force likely to cause death or serious bodily harm only if the person reasonably believes that the force is necessary to prevent imminent death or serious bodily harm to the person or another or to prevent the commission of a forcible felony.
Use of force in defense of occupied structure.
45-3-103 (1) A person is justified in the use of force or threat to use force against another when and to the extent that the person reasonably believes that the use of force is necessary to prevent or terminate the other person's unlawful entry into or attack upon an occupied structure. (2) A person justified in the use of force pursuant to subsection (1) is justified in the use of force likely to cause death or serious bodily harm only if:
(a) the entry is made or attempted and the person reasonably believes that the force is necessary to prevent an assault upon the person or another then in the occupied structure; or
(b) the person reasonably believes that the force is necessary to prevent the commission of a forcible felony in the occupied structure.
and to protect property...
Use Of Force In Defense Of Other Property
45-3-104. Use of force in defense of other property. A person is justified in the use of force or threat to use force against another when and to the extent that the person reasonably believes that the conduct is necessary to prevent or terminate the other person's trespass on or other tortious or criminal interference with either real property, other than an occupied structure, or personal property lawfully in the person's possession or in the possession of another who is a member of the person's immediate family or household or of a person whose property the person has a legal duty to protect. However, the person is justified in the use of force likely to cause death or serious bodily harm only if the person reasonably believes that the force is necessary to prevent the commission of a forcible felony.
and more here...
American Firearms Training Course: Montana Castle Doctrine
gun-safety.com
None requires a person to stay indoors.