Hi Violetta,
Windows 11 is designed with the taskbar at the bottom and does not officially support moving it to the sides or top of the screen. Microsoft has explained that moving the taskbar to the right side changes the entire design, including the Start menu and apps, and the current interface and animations are designed for the bottom placement.
If you do need to move the task bar to the right, you can give a try to third-party tools like ExplorerPatcher which replaces the explorer.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.