This version of Unity is unsupported.

SceneView.isRotationLocked

public bool isRotationLocked;

Description

Whether the Scene view camera can be rotated.