added lock_after_execution_period to media_action; improved documentation