Free expansion refers to uninhibited or provoked expansion, i.e. it’s expanding on its own, by itself. The only situation in which this occurs is B, as the gas is allowed to expand by itself. A involves a reaction that forces the expansion, C involves the gas performing work, and D involves thermal expansion.
Hope this helps!