Triangular lock