A window lock system selectively prevents a window from being opened. A window sash can be connected by a cord to the sill of the window. The cord has an attached lock insert. To lock the window, the insert on the cord is inserted into a track housed in a mount that is mounted to the sash or sill. The track may be formed as part of a rotatable disk. A key turns the track to move the track to a locked configuration. In the locked configuration, the sash and sill are connected by the cord. To unlock the window, the key rotates the disk to allow release of the insert from the track.