Window and patio door locks