Added unlock attribute to actions as well.

Updated docs.