Hi Pan
please check ABAP source around MODULE modif_sperr_loesch in MF02DO00.
This is processed during PBO of VD02 transaction.
There are code & comments around permissions.
Thus, you might have to remove the appropriate permissions from user roles/profiles
to get the deletion flags grey'd out
Best regards,
Matthias