Upon moving into our home, we discovered that one of our windows doesn't fully close and lock, so the window is always open just a tiny bit. Upon inspection and tinkering, it looks like the sash on the right side of the window doesn't work with the locking pieces on the window itself, so when the locking lever is used, the sash doesn't move, and doesn't line up with the pieces on the window to pull it in that last bit and lock it.
I'm not sure how to proceed with replacing parts or which to get and would be grateful for help!