In Pro, I can enable/disable editing/selection of specific layers via the List by Editing tab and the List by Selection tab.
I would like to be able to be able to do the same using arcpy.
Example use case:
I have a map with specific layers that I want to protect the source data from being inadvertently modified during an edit session.
I would run a script tool to disable editing and or selection for specific layers in my map.