$si(wpcolor2)$ extract color in lockscreen?

Hello everyone, I have a question and maybe it is possible, I have this formula that extracts the color from the home screen background $si(wpcolor2)$ is there another formula that changes the color but from the lock screen background? Good day!

I don’t there is a way to do this with just the Kustom app. Maybe using Tasker? Never tried this.