Entropy production and lost work for some irreversible processes