A mix of rust penetrant and wd 40 fixes most of these. The 2012 ford focus has 2 problems reported for door ajar warning. I am fairly sure it is the switch in the locking mechanism.