Kansas Statutes 21-5223. Defense of dwelling, place of work or occupied vehicle; no duty to retreat
(a) A person is justified in the use of force against another when and to the extent that it appears to such person and such person reasonably believes that such use of force is necessary to prevent or terminate such other’s unlawful entry into or attack upon such person’s dwelling, place of work or occupied vehicle.
(b) A person is justified in the use of deadly force to prevent or terminate unlawful entry into or attack upon any dwelling, place of work or occupied vehicle if such person reasonably believes that such use of deadly force is necessary to prevent imminent death or great bodily harm to such person or another.
(c) Nothing in this section shall require a person to retreat if such person is using force to protect such person’s dwelling, place of work or occupied vehicle.