Lock Entities in Neo4J to avoid deleting

Whenever we run cypher query with delete detach statement the entities on Neo4J gets deleted, is there anyway we can lock the entities so that none of the script or everyone can't delete any entities on NEO4J.

Maybe this can help

This is already implemented, here we are trying to implement something like creating constraint, RBAC is already implemented.