Window lock thing

The lock on our kitchen window is broken. So I made this little thing to lock the window from the inside. It snaps nicely over the frame edge with a click after some adjustments. As usual, sand paper is your best friend :)