in reply to correct usage of flock?

Get a flock on another file and then open+delete. The Server of course must get the flock on this other file too to open+append.