Timeline.set_track_lock# Timeline.set_track_lock(track_type: TrackType, track_index: int, is_locked: bool) → bool[source]# Locks/Unlocks track with given trackType and trackIndex Parameters: track_type (TrackType) – trackType is one of {“audio”, “video”, “subtitle”} track_index (int) – 1 <= trackIndex <= GetTrackCount(trackType). is_locked (bool) – lock state Returns: True if successful, False otherwise. Return type: bool