All of a sudden, my iPad was giving me the error that my gmail account had the wrong password. I paniced ofcourse and thought that my password had been compromised, but after checknig a few times with safari and my iPhone, I realized that my iPad was just being mean to me.
I tried to retype the password, delete and recreate the account but nothing really helped. After googling for a bit, I finally found the solution on Apples Support site.
So all you need to do is visit the link there and it will take you to ”Display Unlock Captcha”. Doing this removed the annoying ”lock” I had and my iPad is once again being nice to me and lettnig me check my mail.