Window locks are a preventive measure that reduces the likelihood of accidental falls. They ensure that windows cannot be opened wide enough for a child to pass through. This is especially important in homes with young children who are naturally curious and may not understand the dangers of an open window.