Can homeowner get double-hung windows to lock?

Sliding metal pin is best solution

Q: I have older double-hung windows, and would like to be able to secure them with some type of lock like what you find on newer windows. I don’t want to end up gerryrigging something, and was wondering if you could point me in a more productive direction. –Sara S.