A lock 10 for a sliding door or window. The lock 10 includes a hollow body 11 within which there is pivotally mounted a pair of hook tongues 14 and 15. The tongues are driven by rack gears 54 which are operated by a lock cylinder 19. The rack gears 54 move linearly in opposite directions to cause angular movement of the tongues 14 and 15 in opposite rotational directions.