Short-term, can the person with dementia have supervised access to a car? Alternatively, can they use public transportation (buses, taxis, ride-shares)?
Some short-term fixes can help while you plan long-term solutions. For some, driving can be allowable while supervised, either by yourself or others in the car. Public transport is also another possible strategy to consider if available to you.