Can a single person light shabbos candles with a bracha with a tanai (condition) that shabbos will be accepted later so that the person can drive to shul?
Yes, this is permitted.
Only with regard to women, and with regard to a reagular situation, do we assume that lighting candles implies bringing in Shabbos, and it is therefore forbidden to perform labor after lighting candles.
However, with regard to men, no such assumption is made. Even for women, if a condition is made, the lady in question can light candles with a berachah, and stipulate that she doesn’t mean to bring in Shabbos until later.