<human>:  How to fix a broken window lock?
<bot>: 
1. First, before attempting to fix the window lock, make sure the window is properly closed and secure.
2. Carefully dismantle the lock, taking care to remember the way it was put together.
3. Check to see if the lock is just jammed or if any of the mechanisms are broken.
4. If the lock is simply jammed, apply some lubricating oil to the mechanism and try to move it with pliers to see if it will come apart.
5. If any of the mechanisms within the lock are broken, try to locate the proper replacement parts.
6. Reassemble the lock, making sure all parts are secure and fitting together properly.
7. Make sure to test the window lock to ensure it is properly working.