Prevent a file from being deleted, but allow it to be renamed

Sometimes an executable in Windows will prevent a file from being deleted but you can still rename the file to get it out of the way. I would like to mimic that file permission behavior for a test in C#. Is there a simple way to do that?

File.Open has a FileShare parameter but those options either allow both deletion and renaming, or neither.