I have one backend function to append new rows to a Google Sheet and a lock service is used to prevent the conflicts of multiple users.
sh.appendRow(record);
Another backend function is to delete rows from the same sheet and a lock service is used as well.
sh.deleteRow(posIndex+2)
While I have concern that one user is appending a row at the same time as another user is deleting a row, will it cause any trouble? Since the lock service is used independently in these two functions, they will not lock each other.