De acordo com a página man do flock , este é um uso da opção -u ou --unlock:
-u, --unlock
Drop a lock. This is usually not required, since a lock is automatically dropped when the file is closed. However, it may be required in special cases, for example if the enclosed command group may have forked a background process which should not be holding the lock.
A técnica prescrita é, portanto, algo assim:
(
flock 200 | exit 99
# some commands that should be guarded by the lock
# some of them fork daemons that keep our lock file open
flock --unlock 200 # we're done with the lock, we can release it
) 200>/path/to/lock-file