Lock and adjust the frequency of the RTX 3090

I am currently engaged in GPU-related scientific research and need to lock and adjust the GPU’s frequency to observe its performance under mixed memory. My platform is the RTX 3090. I hope to receive guidance. I have already searched forums for information on locking GPU frequencies, but that was for the Jetson T2, which can not use on RTX 3090. I am looking for more in-depth guidance.