Trying to explain how the system works:
There are two valves in a power steering system: The flow control valve in the pump and the steering valve at the entry of the box, controlled by the steering column.
The pump produces flow as soon as it turns/the engine runs. Up to a certain rpm, the flow increases proportionally to the rpm until it reaches a point where the flow remains constant - usually around 1000 rpm - the so-called flow control. Regulated by the valve in the pump.
The fluid flow produced by the pump is routed to a valve at the entry to the steering box. The valve is rotated by the steering column. The opening of the valve is controlled by a device called the "torsion bar". The harder the resistance to turn is (the more you want to turn the wheels) the more the torsion bar gets twisted and the the more the valve opens.
Depending to which side you turn, the steering valve sends the flow to the respective side of the piston, where a pressure on the piston is created, helping to move the steering. Thus power steering.
From what you are describing, I would diagnose - from far away - your steering valve in the box sticks in place after you turn the wheel by 20 degrees. This will cause the wheel to turn to the lock position. I assume the wheels on the car turn also to the full turn! Normally, if you let the wheel go, it should try to return to center. This will not happen completely when the car is stationary because the geometry of the front axle does not produce the forces it would if the car was rolling. If you let the wheel go, there is no force anymore to twist the torsion bar and there should be no flow to either side of the piston in the box - unless the steering valve is stuck. This could be caused by a broken torsion bar or some other part in the valve.
My suggestion is to take the box out and have it checked.