CS6 isn't officially released for Windows 11. It can be worked fine or not. This differs from machine to machine. I've read several posts of users which got CS6 to work with Win 11 and also post in which user wrote that they have problems.
You have to check it of your own.
My System: Intel i7-8700K - 64GB RAM - NVidia Geforce GTX 1050 Ti - Windows 10 Pro 22H2 -- LR-Classic 12.3 - Photoshop 24.5 - Nik Collection 6 - Topaz Sharpener AI