How to get window class names of lock screen and login animation window?

I use Maximized Window Gap, which enforces window gaps on all windows except for exceptions you specify.