The solution is simple, if you see a young black man, just remain in your car but don’t lock your doors.
To avoid car-jackings, we are told to lock our doors, and many new cars lock automatically now. I don’t think even a compromise will work on this one.
You have a duty to retreat.