Repro Rate: 3/3
This issue was reproduced in //UE5/Release-5.1 at CL 23058290.
This is confirmed to not be a regression since the error also occurs on the previous live version. This is regression tested on //UE5/Release-5.0 at CL 20979098.
: The locked file disappears from the content browser and the following warning appears in the output log:
The locked file will reappear after reloading the Editor.
: The editor should give a popup warning when trying to delete a locked file, blocking the action unless the file is unlocked from source control. The editor should only remove the file if it is actually safe or possible to do so.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-170913 in the post.