The registry entries in the commands (/text) do not match the ones in the image, the entry location appears truncated (at least here).
I have a 2TB Samsung 980 Pro (latest firmware) in a Thinkpad T14s gen 3 - R7 Pro 6850U / 32GB RAM.
After using the proper locations shown in the images, I am seeing a +10% real-world SSD performance (i.e., almost everything in the matching profile in CrystalDiskMark, except Seq Q1T1) and a more extreme uplift in SSD default Q32T16 write performance (nearly 1.5x).
Currently I see no downsides to this registry hack, so I am keeping it in my laptop.