Version: 2018.2
public bool locked ;

説明

The local locked state of the track.

Note that locking a track only affects operations in the Timeline Editor. It does not prevent other API calls from changing a track or it's clips.

This returns or sets the local locked state of the track. A track may still be locked for editing because one or more of it's parent tracks in the hierarchy is locked. Use lockedInHierarchy to test if a track is locked because of it's own locked state or because of a parent tracks locked state.