Ubuntu 19.04 – Windows key logs me out

I was having some visual bugs so I pressed ALT + F2 then typed r, now when I try to press the windows key to start a program after 2 presses it logs me out.