Could you be more specific on how to set those settings and how to delete partitions.. it’s a gigabyte motherboard so where are those settings?
It would be much easier just to read MB manual, all those settings are in BIOS.
Generally those setting can be found in Advanced and BOOT parts of BIOS.
There should be CSM/legacy and UEFI options, disabling CSM should turn on UEFI mode.
With AMD systems TPM is called fTPM.
When installing W10 or 11 it will automatically format disk in GPT mode.
When starting W1indows installation, when it asks you where to install it will ask you to which disk or partition to install there will be option to delete any partition one by one. After you delete them al,installation will format disk in proper UEFI mode and GPT format. It will also make appropriate partitions (3-4) with one of them being one small (200MB) empty, partition, one EFI partition, C: partition (where windows reside), and one recovery partition. in that order.
If you gave any other disks, please disable/disconnect it/them temporarily. until everything is working,