\fs\lock also calls fflush before unlocking
docs