Is there a lock function or component for Excel Writer to be locked before compeletion?

Using Pipeline Pilot 2021, Excel Writer does not lock output file.  Is there a way to lock the file till its completion?