Client desktop deny deletes

Hi,
I sometimes and inadventertly delete some files from my local synced copy of my nextcloud account. When I delete a file from synced copy it is istantly removed also from cloud account , losting him.
:frowning:
There is some workaround to set the client desktop to update or create new files, but avoid to delete a file or ask for delete him ?

Thx.