Look at the example planet's playfield_static.yaml for information on the "RestrictToOrigin" and "LockOnFaction" parameters.
Those 2 parameters can only be used in a Mission Environment. There are no playfield.yaml settings to restrict a normal playfield. However this is possible with EAH > Playfield Tab