Mahmud_1234 Hello,
You can find Factory reset function inside Special Task button in main tab.
For clear FRP in UFS, you may try to erase the partition FRP or Persist manually if this partition exits.
But, especially for Persist partition, before you do erase, please make sure you make a backup, just in case.