 In 1836, the family moved to Marshall County, Mississippi.Upon the outbreak of the Mexican–American War, Locke enlisted in the 1st Regiment of Mississippi Volunteers, where he was a bodyguard to Col. Jefferson Davis.He tended to Davis’ foot wound and was present at the surrender at the Battle of Buena Vista.