GSTPy.
GeometryIsLockedInArea
Action cannot be performed on a partially locked geometry.
The GST API Python module