On the "latest" (2023-01-23) version of Windows 11, you go to Settings --> Accounts
Then in the URH corner you click on the "One Drive Manage" icon which brings you to the "Manage folder backup" screen. You can then turn off some or all the directories (such as Pictures) that you want to stop backing up.