Hello,
Welcome to Microsoft Q&A!
According to your description (Windows SDK) and the tag (Windows App SDK), whether you want to use winui3 project (Windows App SDK) or desktop project (Windows SDK)?
For desktop project:
According to the Doc: Personalization CSP
I suggest you could try to change the registry by creating a new key in the
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP
For more details, you could refer to the threads:
https://stackoverflow.com/a/51785913
For winui3 project:
You could follow Castorix31's suggestion. And you could refer to the sample: Lock screen personalization sample
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.