@kalilinux56157 looking at the order of the keys, this actually sounds more like a failing keyboard. Not sure why "finagling with the lid" would change this. Possibly that it just moves some of the matrix inside the keyboard. To remove the keycaps something like [https://www.youtube.com/watch?v=bYlEjQvceLY|this video] should work.
To work on your computer use the [document|40905] for your model. Page 73 deals with the keyboard, which is considered part of the top case. It is rivet to the top case by some plastic tabs. If you just want to replace the keyboard, you will have to remove those plastic tabs and then use very small screws to later on reattach the keyboard. It's a bit of a PITA but can be done.