Collapsible canopy frame and locking pin assembly for the same