It's possible to overclock an unlocked CPU on a locked motherboard using Throttlestop software. The OC happens from in Windows.
https://www.techpowerup.com/forums/threads/throttlestop-overclocking-desktop-pcs.235975/
This may not work with AMD CPUs. I would ask at the thread. Someone might be wroking on it.