Locus of a point that creates a right angle

The point P(x, y) moves such that the angle made between PA and PB is a right angle.

What type of graph does the point trace out? Can you link this to a geometrical property of this shape?