Hello,
Deleting a user account shouldn’t do any harm to a windows install, if there’s other accounts to use, you’ll be fine but if you’re deleting the last user account on a computer then that will cause issues. Unless there’s some unusual setup where apps or files from another account are installed in the unknown account’s file folders you can delete the user account safely.
If you want to play it safe you can create a windows system restore point and if anything breaks you can do a rollback to before you deleted the user account.
Hope this helps,
JC