Can't get root, no matter what i try. Only thing left is to
lock the bootloader, and try it that way.
Are you sure your bootloader is unlocked? You mentioned it in your first post but I think you're confusing carrier unlocked with unlocked bootloader. And while the pixel does allow you to unlock the bootloader, it does not come that way.
You would have to do all these things:
Unlock the hidden "developer options" on your device by going to settings>about and tapping on build number 7 times.
Go into the newly available developer options and enable OEM unlocking.
Put the adb and fastboot utilities on your PC:
https://developer.android.com/studio/releases/platform-tools.html
Connect phone to PC, use command
adb reboot bootloader to get to fastboot mode.
Once there use fastboot command
fastboot flashing unlock and then confirm that you'd like to unlock the bootloader. Wait for the factory reset to complete and then your bootloader will be unlocked.
Honestly it doesn't seem like you've done much research yet on rooting. I really wouldn't encourage you to root until you know what you're doing. It's your choice but if you don't even know how to unlock the bootloader, how will you be able to fix something if things go wrong?
And as codesplice said, please give us more information. I'm giving you detailed responses and you're giving me nothing back to show me what you've done or where you're stuck. Help me help you. Please give me some effort in return!!